Script locals in library stack script
J. Landman Gay
jacque at hyperactivesw.com
Wed Feb 8 18:04:13 EST 2017
On 2/8/17 4:52 PM, Monte Goulding via use-livecode wrote:
>
>> On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode
>> <use-livecode at lists.runrev.com> wrote:
>>
>> I have a splash stack that opens a data stack from a server. The
>> data stack has a substack which is used as a library with "start
>> using".
>>
>> The handlers in the library work okay. Some of them store data in
>> script local variables in the library script. The script locals do
>> not retain their values, they are almost always empty when the
>> library tries to access them later.
>>
>> Is this something others have seen? LC 8.1.3 rc 1.
>
> I’m guessing you don’t mean in a separate request on the server. I’m
> not aware of anything special about the way server does stuff with
> variables so someone would need to chase this down based on a bug
> report I think.
Right, after downloading the data stack, for this stuff it's all local
messaging. I'll try to track it down before submitting a bug, I just
wondered if this was a known thing. I'm seeing other problems that
indicate the message path isn't what I expect.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list