- print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " rpn EXPRESSION...\n"));
- print(" Operator description (x: string, s: set, f: float):\n");
- print(" x pop -----------------------------> : removes the top\n");
- print(" x dup -----------------------------> x x : duplicates the top\n");
- print(" x x exch --------------------------> x x : swap the top two\n");
- print(" /cvarname load --------------------> x : loads a cvar\n");
- print(" /cvarname x def -------------------> : writes to a cvar\n");
- print(" f f add|sub|mul|div|mod|pow -------> f : adds/... two numbers\n");
- print(" f f and|or|xor|bitand|bitor|bitxor > f : logical and bitwise operations\n");
- print(" f f eq|ne|gt|ge|lt|le|max|min -----> f : compares two numbers\n");
- print(" f neg|abs|sgn|rand|floor|ceil------> f : negates/... a number\n");
- print(" f not|bitnot ----------------------> f : logical and bitwise negation\n");
- print(" f exp|log|sin|cos -----------------> f : exponential function & Co.\n");
- print(" f f f bound -----------------------> f : bounds the middle number\n");
- print(" f1 f2 b when ----------------------> f : f1 if b, f2 otherwise\n");
- print(" s s union|intersection|difference -> s : set operations\n");
- print(" s shuffle -------------------------> s : randomly arrange elements\n");
- print(" /key /value put -------------------> : set a database key\n");
- print(" /key get --------------------------> s : get a database value\n");
- print(" x dbpush --------------------------> : pushes the top onto the database\n");
- print(" dbpop|dbget -----------------------> x : removes/reads DB's top\n");
- print(" dblen|dbat ------------------------> f : gets the DB's size/cursor pos\n");
- print(" dbclr -----------------------------> : clear the DB\n");
- print(" s dbsave|dbload--------------------> : save/load the DB to/from a file\n");
- print(" x dbins ---------------------------> : moves the top into the DB\n");
- print(" dbext|dbread ----------------------> x : extract/get from the DB's cursor\n");
- print(" f dbmov|dbgoto --------------------> : move or set the DB's cursor\n");
- print(" s localtime -----------------------> s : formats the current local time\n");
- print(" s gmtime --------------------------> s : formats the current UTC time\n");
- print(" time ------------------------------> f : seconds since VM start\n");
- print(" s /MD4 digest ---------------------> s : MD4 digest\n");
- print(" s /SHA256 digest ------------------> s : SHA256 digest\n");
- print(" s /formatstring sprintf1s ---------> s : sprintf with 1 string (pad, cut)\n");
- print(" s eval ----------------------------> : does something eval\n");
- print(" Set operations operate on 'such''strings'.\n");
- print(" Unknown tokens insert their cvar value.\n");
+ LOG_INFO(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " rpn EXPRESSION...\n"));
+ LOG_INFO(" Operator description (x: string, s: set, f: float):\n");
+ LOG_INFO(" x pop -----------------------------> : removes the top\n");
+ LOG_INFO(" x dup -----------------------------> x x : duplicates the top\n");
+ LOG_INFO(" x x exch --------------------------> x x : swap the top two\n");
+ LOG_INFO(" /cvarname load --------------------> x : loads a cvar\n");
+ LOG_INFO(" /cvarname x def -------------------> : writes to a cvar\n");
+ LOG_INFO(" f f add|sub|mul|div|mod|pow -------> f : adds/... two numbers\n");
+ LOG_INFO(" f f and|or|xor|bitand|bitor|bitxor > f : logical and bitwise operations\n");
+ LOG_INFO(" f f eq|ne|gt|ge|lt|le|max|min -----> f : compares two numbers\n");
+ LOG_INFO(" f neg|abs|sgn|rand|floor|ceil------> f : negates/... a number\n");
+ LOG_INFO(" f not|bitnot ----------------------> f : logical and bitwise negation\n");
+ LOG_INFO(" f exp|log|sin|cos -----------------> f : exponential function & Co.\n");
+ LOG_INFO(" f f f bound -----------------------> f : bounds the middle number\n");
+ LOG_INFO(" f1 f2 b when ----------------------> f : f1 if b, f2 otherwise\n");
+ LOG_INFO(" s s union|intersection|difference -> s : set operations\n");
+ LOG_INFO(" s shuffle -------------------------> s : randomly arrange elements\n");
+ LOG_INFO(" /key /value put -------------------> : set a database key\n");
+ LOG_INFO(" /key get --------------------------> s : get a database value\n");
+ LOG_INFO(" x dbpush --------------------------> : pushes the top onto the database\n");
+ LOG_INFO(" dbpop|dbget -----------------------> x : removes/reads DB's top\n");
+ LOG_INFO(" dblen|dbat ------------------------> f : gets the DB's size/cursor pos\n");
+ LOG_INFO(" dbclr -----------------------------> : clear the DB\n");
+ LOG_INFO(" s dbsave|dbload--------------------> : save/load the DB to/from a file\n");
+ LOG_INFO(" x dbins ---------------------------> : moves the top into the DB\n");
+ LOG_INFO(" dbext|dbread ----------------------> x : extract/get from the DB's cursor\n");
+ LOG_INFO(" f dbmov|dbgoto --------------------> : move or set the DB's cursor\n");
+ LOG_INFO(" s localtime -----------------------> s : formats the current local time\n");
+ LOG_INFO(" s gmtime --------------------------> s : formats the current UTC time\n");
+ LOG_INFO(" time ------------------------------> f : seconds since VM start\n");
+ LOG_INFO(" s /MD4 digest ---------------------> s : MD4 digest\n");
+ LOG_INFO(" s /SHA256 digest ------------------> s : SHA256 digest\n");
+ LOG_INFO(" s /formatstring sprintf1s ---------> s : sprintf with 1 string (pad, cut)\n");
+ LOG_INFO(" s eval ----------------------------> : does something eval\n");
+ LOG_INFO(" Set operations operate on 'such''strings'.\n");
+ LOG_INFO(" Unknown tokens insert their cvar value.\n");