Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Command 2.0 Problems With ODBC

From: compkarori::gmail::com at: 5-Sep-2005 7:51

[kvince--comcast--net] wrote.. apparently on 1-Sep-2005/18:57:17
>Greetings, > > With this console I can't connect to my database, but when I bring up a new console the connection works fine. Any ideas?
Does it work if you run it from the command line viz rebcmd %script.r ??
>source: %UPDTDL.DAT >if [size? source > 0][
This is a problem. Source is now of type file, and *if* this were contained in parentheses, then it would error as ">" evaluates before "size?", and expects to see an integer on the left, and not a file. But since it is in a block, the expression is always true as it never gets evaluated. It should read something like this inf: info? %UPDTDL.DAT if inf/size > 0 [ ... ] -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml