============================= GBnums 4.2 - Survival kit - gbhelp.txt Questions and bug reports : echolalie@echolalie.com Downloads and novelties : www.echolalie.com/gbnums ============================== -- GBnums ist best seen with - police Lucinda Console 14 - window width >= 120 - window height >= 40 (right click in the window bar - Properties) Top level commands ------------------ Begin with '.' or '\' May be abbreviated, eg \who or \w Tips ----- tips(0) --> deactivates the start-up tip message tips(1) --> activates the start-up tip message Help ---- -> ? : help -> ?? : more help (this file) -> . or \ : list all commands -> .mail : send a question or a bug report Information about a symbol : ? Displays info and opens url if any ----------------------------------- -> ?VERBOSE (variable) -> ?jacobi (system function) -> ?vect (package) -> ?myfun (user function) -> myfun (detailed info) Symbol information ------------------- -> url('name','http:/.../') ; // sets url for 'name' -> info('name','this is ....'); // sets info string for 'name' Regular expressions : ------------------------------ see the file 'regexp.n' Looking for something --------------------- -> nextprime (info about this function) -> .who (case sentitive) -> .who pr* -> .w (all) -> .sym [0|1] (user symbols) -> .var (user variables with their values) -> .pack vect (package contents) -> ?0, ?1, ?i (show package #i) or -> eg : -> *sum* -> *fact* : all 'fact' functions How to see/set a system variable -------------------------------- -> PATH -> PATH = "c:\\foo;c:\\gnuplot;....." Useful global (system) variables you can set ------------------------------------------- -> VERBOSE (0=none, 1=medium, 2=full) -> PATH -> EDITOR (preferred editor) EMERCENCY EXIT -------------- CTRL-C ==> stops current loop/function and returns to toplevel CTRL-PAUSE ==> enters inspector (debug) loop. Type ".q" to quit the debugger .q ==> quits GBnums How to load and compile a file (uses global variable PATH) ---------------------------------------------------------- -> .l myfile.n -> .load myfile -> .source see last source file around line #ln -> .ed , .edit : edit this file (uses global EDITOR) -> .ed : edit file -> .grep (search for in *.n files) -> .more to see a file