Yes, I can start cmd and run the script successfully with the command 
C:\Rebol\rebolcmd.exe %/C/Rebol/deltdlrows.r.

-------------- Original message -------------- 

> [EMAIL PROTECTED] 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 
> -- 
> To unsubscribe from the list, just send an email to 
> lists at rebol.com with unsubscribe as the subject. 
> 

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to