Read this CGI? (solved)
[1/4] from: ammon::rcslv::com at: 19-Apr-2002 11:56
Just in case anyone was interested...
The error came from the fact that I was using the word 'in as a variable
which replaced the native value of 'in effectively disabling many functions.
;-))
Enjoy!!
Ammon
A short time ago, Ammon Johnson, sent an email stating:
[2/4] from: jason:cunliffe:verizon at: 19-Apr-2002 16:13
> Just in case anyone was interested...
>
> The error came from the fact that I was using the word 'in as a variable
> which replaced the native value of 'in effectively disabling many functions.
> ;-))
So what do you all think are good REBOL strategy against such problems?
./Jason
[3/4] from: sunandadh:aol at: 19-Apr-2002 17:44
Jason
> > The error came from the fact that I was using the word 'in as a variable
> > which replaced the native value of 'in effectively disabling many
> functions.
> > ;-))
>
> So what do you all think are good REBOL strategy against such problems?
Put this in user.r:
protect-system
It stops you accidentally redefining any system word.
>> in: 100
** Script Error: Word in is protected, cannot modify
** Near: in: 100
Sunanda
[4/4] from: jason:cunliffe:verizon at: 19-Apr-2002 20:23
> > So what do you all think are good REBOL strategy against such problems?
> Put this in user.r:
<<quoted lines omitted: 3>>
> ** Script Error: Word in is protected, cannot modify
> ** Near: in: 100
Nice. Thanks!
Think should be in the default user.r with a comment about it.
./Jason
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted