Contents Previous Next Subchapters

Short Hand For Functions With String Arguments
Syntax \function list_of_character_strings

This is a short hand for executing the specified function when all its arguments are character strings. This notation does not use the parenthesis around the argument list nor the quotes around each of the character strings. The \ character in the syntax must appear at the beginning of the line it appears in.

There is only one argument to the O-Matrix intrinsic function cwd and it is a character string. If you enter
     \cwd c:\omwin
O-Matrix will respond
signifying that the current working directory has been set to c:\omwin.

If you need to use the result of such a function, you have to use the parenthesis and quotes. For example, if you enter
     flag = cwd("c:\omwin")
     print flag
O-Matrix will respond