It Variable

Sarah Reichelt sarah.reichelt at gmail.com
Fri Mar 3 20:21:41 EST 2006


On 3/4/06, Bridger Maxwell <bridgeyman at gmail.com> wrote:
> I just made a giant switch from Hypercard to Revolution.  In Hypercard
> networking we used "request thedata from program theComputer" to request
> data from across an appletalk network.  In Revolution this didn't work
> anymore so we made a new command, "Netrequest" that serves the same
> function.  "netrequest thedata,theComputer"  The problem is that in
> Hypercard put the data into the it variable when it is done.  Without
> changing the script in the card where it initiates the netrequest command
> (such as in the card or a button), can I add something the to stack script
> where the command is contained so it puts the result into the it variable?


netrequest thedata,theComputer
get the result
-- "it" will now contain whatever was returned from the netrequest handler.

HTH,
Sarah



More information about the Use-livecode mailing list