> -----Original Message----- > From: tony summerfelt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 06, 2004 1:33 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] command line arguments > > > > On Mon, 5 Apr 2004 16:25:19 +1200, you wrote: > > >> > either system/script/args [ > >> >instead of: > >> >> either not system/script/args == none [ > >> got an error when i tried that: > > >Then you almost certainly have an error in the code before > this point. :) > > here are the first few lines of the program :) > > ; > REBOL [] > > either not system/script/args == none [
rebol prefered (and simpler) style: either none? system/script/args [ print "no args" ][ print "args waiting" ] there is a ? for all datatypes and pseudo types. as in block?, string?, series?, number?, etc HTH! -MAx -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.