[OT] Why would it be a pain?
Jim Ault
JimAultWins at yahoo.com
Thu Jun 22 15:26:57 EDT 2006
> 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.
> that's it my friends!
These 3 works for me in
Rev 2.6.1 Mac OSX 10.4.6
-------in the single line message box ---------
answer folder "choose" <enterkey>
put it <enterkey>
get 123 <enterkey>
put it <enterkey>
get the short date <enterkey>
convert it to seconds <enterkey>
put it <enterkey>
Jim Ault
Las Vegas
On 6/22/06 12:18 PM, "HyperChris at aol.com" <HyperChris at aol.com> wrote:
> IT is global in HC (although curiously it doesn't show in the HC variable
> watcher). you still have to declare it as a global within a script to use it
> (same as any other global in HC or Rev.)
>
> my point is that when you are out in the message box it is available to you.
> as soon as you put something in it, or use a call like answer, you can 'put
> it' and get the contents. in rev you first have to say 'global it' if you want
> to try and use it from the message gox.
>
> try this in HC msg box ...
>
> 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.
> that's it my friends!
>
> In a message dated 6/22/06 11:23:54 AM, use-
>
>> Of course, 'it' will be a local only, unless the script or handler declares
>> 'global it' so any scripts you do not control will not regard 'it' as a
>> global, such as library front/back scripts, plugins.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list