This wiki is out of date, use the continuation of this wiki instead

String

From FenixWiki

Revision as of 14:55, 1 August 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


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.");
    say('User logged on: "' + name + " " + surname + '"');

    Loop
        frame;
    End
End
Personal tools