#include "system.h" /*--------------------------------------------- usr.n -- automatically loaded at launch time -- the function init() (if present) is then executed -------------------------------------------------*/ package ini; //// // O - Macros /////////////////// #define errno ERROR // ANSI-C like #define DATEFORMAT "%x %X %Z" #define CR "\n" /// // I - Declarations of favorites ////////// mpz googol = 10**100; mpz echo = 666; string user = "GB"; ///////// // II - settings globals preferences ///////////////// void init() { println("-- initializing",user,CR); TAB= "\t"; // PROMPT = "%H:%M "; PROMPT = "-> "; VERBOSE=1; DEBUG=DBG_SAFE; // see system.h // PATH = "c:\\gbnums;c:\\gbnums\\lib;c:\\gbnums\\include"; EDITOR = '"c:\\Program Files\\Textpad 4\\textpad.exe"'; WANTS_COLOR=1; DEFAULT_COLOR=YELLOW; url('googol','www.google.com'); // -> ?googol will launch url url('echo','www.echolalie.com'); }