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

[REBOL] 'alias command in REBOL

From: gmassar::dreamsoft::com at: 18-Jan-2001 8:50

As per REBOL dictionary, one states that in order to use aliases, use 'do command. E.g.
>> alias 'print "stampa" >> do {stampa "MONDO Rebol"}
MONDO Rebol Why 'do { ... } command? The curly brackets are supposed to be used for multi-lined strings. I tried to say:
>> stampa "MONDO Rebol"
MONDO Rebol Fine, but it does not work for file redirection. Exactly what is the difference if I say:
>> stampa: :print
instead of using 'alias command? What is the advantage between them? Would appreciate an educational explanation or even a hint. TIA Geo... still green in REBOL thingy