@{B}* T h i n g s y o u s h o u l d k n o w :@{UB} @{" Variables : " link "variables"} Must read. @{" Normal Variables " link Variables_Normal} The most common ones @{" Env: Variables " link Variables_Env} files in Ram:env @{" Internal Variables " link Variables_Int} Get information on guis, gadgets etc @{" Internal Variables List " link Variables_IntList} (there's lots of them) @{" Passing Arguments " link "Passing_Args"} Pass args to routines & guis @{" Translation " link "translation"} Interpretation of arguments @{" Making Commands Lines " link "Command_Lines"} Tricks & tips of forming commands @{" C Programs interface " link "c_programs"} Talk to Gui4Cli & add new commands @{" DataBase Listviews " link "DBase_LVs"} Columns, Fields etc @{" Mathematical Calculations " link Maths } Floats & functions @{" Using the Clipboard " link "Clipboard"} How to Load/Save clips. @{" ARexx " link "arexx"} How to talk to ARexx @{" Finding Paths " link "paths"} Make GUIs run from anywhere. @{" Resizable Windows " link "resize"} How to make Guis resizable. @{" Window Shortcuts " link "winshortcuts"} Very usefull shortcuts. @{" Gui Names " link "guinames"} Using #This @{" Fonts " link "fonts" } Fonts & Font commands. @{" Font Sensitivity " link Font_Sensing } Font Sensing ------------------------------------------------------------ @{B}@{U}Writing Programs:@{UU}@{UB} Gui4Cli is "line oriented", i.e. the commands can not span lines. A line can be 1000 characters long (you can increase this with BUFFERS) A ";" character ends the line (unless it is inside a quoted string), and you may place comments or anything else after it. A "parser" is computer-jargon for that part of the program that reads your program file and tries to make sense out of it. The parser, in this case, is pretty simple-minded. It's designed to be as fast as possible - not as intuitive as possible. Do not try to confuse it because you probably will. When you write commands, separate each argument with a space or a comma. IF $Variable= 10 <- is NOT correct. IF $Variable=10 <- is NOT correct. IF $Variable = 10 <- IS correct. @{B}@{U}Use of Quotes:@{UU}@{UB} A string which starts with " ends with a " and if it starts with a ' it ends with another ' If you load files and put them in a variable, and if these files contain a space they will be quoted e.g. "Ram Disk:MyFile" So, if your arguments are likely to contain such quoted strings, it is vital that you use single quotes ' to surround each argument. @{B}@{U}Debugging :@{UU}@{UB} When writing a GUI, apart from the DEBUG option, there are 2 very useful keys you should know. Control E - will run "c:ed" loading the GUI for editing. (can be changed to any name with the SET command) Control R - will Re-Load the active GUI. These will make editing much easier, especially for seeing the positions of the gadgets and graphics.