Back Previous Next


Linguist basic package - string

Syntax:

   string {symbol} {value}
   string {symbol} from {filename}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKString.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHString.class

Function:

Declares a constant string. This creates the string, either from the explicit value given or by reading a file, and embeds it in the program ready for use. See also data.

Example(s):

   string MYNAME "Graham Trott"
   string COOKIES from "c:/data/cookies.txt"


Back Previous Next