Compiling & executing a string on the fly???
Jarvis, Robert P. (Contingent)
Jarvisb at timken.com
Thu Jun 15 14:57:19 UTC 2000
> -----Original Message-----
> From: jchludzinski at worldkey.net [mailto:jchludzinski at worldkey.net]
> Sent: Thursday, June 15, 2000 1:53 AM
> To: Squeak mailing list!
> Subject: Re: Compiling & executing a string on the fly???
>
>
> It MUST be possible within Squeak to construct text strings
> of legit ST (blocks) and compile them on the fly. I had NO
> trouble doing this in VW!
I tried
Compiler evaluate: '[ #abc asString ] value, [ #def asString ]
value'
and found that it produced 'abcdef', as per my expectations. Was this what
you were trying to do?
Bob Jarvis
Compuware @ Timken
More information about the Squeak-dev
mailing list
|