CONSTRUCTING COMMAND LINES =============================== *** NOTE *** All special characters below, are preceded by a BackSlash character. Some versions of AmigaGuide will not show you the backslash unless it's preceded by another backslash, i.e. \\ So when you see \n as just an "n", remember it should be \\n Special Characters : -------------------- You can use the following special characters inside command lines : \n = (BackSlash + n) NewLine \r = Carriage return \t = Tab \# = starts a character expressed as a decimal value ex : Say '\#7' will cause the screen to flash (7 is the decimal value of the "beep" or "bell" character). Another example : ex : Say "\#155\1;33;40;>0mText is now color 3" will print "Text is now color 3" in your console in color 3. All text will now be in color 3, until reset. The Amiga console device has *many* such commands, with which you can output to and control a shell as you need. Also, any character preceded by a \ will be written literally. So, you can write : \\ = the BackSlash character \" = the " character \' = the ' character \$ = the $ character \A = character A ..... etc This is especially usefull when messing about with variable names, because the slash "\" character will also end a variable name. So if you wanted for example to append ".info" to a filename which you have stored in a variable, you can do this : filename = MyFile say "$filename\.info" - will print "MyFile.info" It can also be done with the appvar command but this is faster.. Weird Stuff : For some reason the console device will replace $$ with nothing. So if you want to, say, send a rexx command to Gui4Cli with GRX, containing an internal variable, you must do this: grx Gui4Cli say \$\$G4C.dir This will print out Gui4Cli's current dir.