Peter Wood napsal(a):
> Ladislav
>
> Your include looks really useful. Would it be possible to add a #define
> "command" that performed a simple text substitutions on the included
> file ?
>
> eg #define FREEZING-POINT 0
>
> Regards
>
> Peter
>
such an option exists even now, even though it may look slightly
"inelegant" to you. Example:
; define FREEZING-POINT constant
; notice the empty block causing that nothing is actually included
#do [FREEZING-POINT: 0 []]
; use constant substitution in the following expression:
if temperature < #do [FREEZING-POINT] [print "it's cold"]
-L
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.