Returning data back from LC server script to the stack?
JOHN PATTEN
johnpatten at me.com
Wed Jul 30 15:34:33 EDT 2014
Hi All,
Is it possible to return data from a LC server script directly to a stack?
For example:
Server script, file name: test.lc
<lc?
Put “This is text originating from the server.” into tServerData
put tServerData — —< back to stack>
?>
And on the stack, in a button script:
on MouseUp
Get URL "http://jpatten.on-rev.com/tserver/test.lc”
answer it
end MouseUp
I’m just wondering if there is a way for LC server to send data back to the stack as opposed to creating a web page and displaying it in a browser?
Thank you!
John Patten
SUSD
More information about the use-livecode
mailing list