- This wiki is out of date, use the continuation of this wiki instead
String
From FenixWiki
(Difference between revisions)
| Revision as of 02:20, 13 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 14:52, 1 August 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
| Line 8: | Line 8: | ||
| == Example == | == Example == | ||
| + | <pre> | ||
| Program strings; | Program strings; | ||
| Private | Private | ||
| Line 22: | Line 23: | ||
| End | End | ||
| End | End | ||
| + | </pre> | ||
Revision as of 14:52, 1 August 2007
Definition
STRING
Strings are a sort of character array, combining characters to form text. Because the length of a string is dynamic, adding them is done easily. The quotes can be used to create strings.
Example
Program strings;
Private
String name;
String surname;
Begin
name = "Yo";
surname = "Momma";
say(name + " " + surname + "has entered.");
Loop
frame;
End
End
