Stack file opened message?
Bob Sneidar
bobs at twft.com
Wed Jul 18 18:11:36 EDT 2012
No the target returns the first card of the stack, or else the card you went to if you went to a specific card of the stack. But I give you this:
ON openStack
put the name of this stack & cr & word 6 to -1 of the long name of the target
pass openStack
END openStack
Bob
On Jul 18, 2012, at 2:54 PM, Peter Haworth wrote:
> I haven't tried this but I suspect the target contains the stack name and
> having got that, you can get it's effective filename to get the stack file
> name.
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Wed, Jul 18, 2012 at 1:51 PM, Bob Sneidar <bobs at twft.com> wrote:
>
>> I don't think there is one. This underscores the need for messages like
>> openStack to return the stack name as a parameter as in:
>>
>> on openStack pStackName, pFileName
>>
>> If anyone thinks this is useful, I will post an enhancement request. It
>> cannot break anything in the past, and would be really useful in some
>> circumstances.
>>
>> Bob
>>
>>
>> On Jul 18, 2012, at 1:35 PM, Peter Haworth wrote:
>>
>>> Checked the dictionary but couldn't spot a message that's generated when
>> a
>>> stack file is opened? I know of preOpenStack and openStack but I'm
>> looking
>>> for something when a stack file is opened, not a stack.
>>> Thanks,
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
More information about the use-livecode
mailing list