[OT] Why would it be a pain?
J. Landman Gay
jacque at hyperactivesw.com
Thu Jun 22 16:18:52 EDT 2006
Scott Rossi wrote:
> Recently, HyperChris at aol.com wrote:
>
>> get "stuff"
>> put it
>>
>> ... you get 'stuff' in HC but in Rev you get 'it'
>>
>>
>> my point is not to match HC but rather to be able to type things into the
>> message box, like answer folder, and be able to get at the contents of it
>> without
>> having to try and remember to type global it before i make the answer call.
>
> If I understand your comment, you don't have to remember anything.
> Use a semi-colon:
>
> get stuff;put it
> answer folder "Locate:";put it
Right, which is why I was wondering what the fuss was about. And in Rev,
you can also use the multi-line message box to do it in two lines:
get "stuff"
put it
So it works either way. HyperCard did a special-case thing with the "it"
variable in the message box, because there were zero options for typing
in multi-line scripts (though you could paste one in, but that was never
documented.) But Rev offers two ways to do multi-line scripts, which
means that "it" isn't an issue any more.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list