preOpenStack Weirdness
David Burgun
dburgun at dsl.pipex.com
Thu Sep 15 07:09:34 EDT 2005
Hi,
Just saw your reply! Sorry I didn't mean to suggest that you thought
my code was badly written, was just puzzled at what you meant!
If I take the code as-is and paste it into the openStack handler it
works! In fact if I execute it anywhere except in a preOpenStack
handler it works!
Is this the correct behavour? It is REALLY causing me problems at the
moment, since I have to remember not to use functions/handlers in the
"Utility" Stack in preOpen handlers. Could anyone shed some light on
this?????
Thanks a lot for all your help
All the Best
Dave
>My first sentence was a suggestion to see the
>problem differently in the hopes that your
>problem would reveal itself...
>
>Not that your code was badly written...
>
>
>> -----Original Message-----
>> From: David Burgun [mailto:dburgun at dsl.pipex.com]
>> Sent: Friday, September 09, 2005 14:07
>> To: x at monsieurx.com; How to use Revolution
>> Subject: RE: preOpenStack Weirdness
>>
>> Hi,
>>
>> Sorry I really don't understand what you mean. The stack file
>> is definitely present so the "if there is a stack" always
>> succeeds, also I am using the full path so I don't need to do
>> the "set directory"
>> command, I just use the full path string.
>>
>> Still puzzled!
>>
>> All the Best
>> Dave
>>
>> >Hi David
>> >
>> >trying to see it differently may answer your question on preopenstack
>> > set the directory to thispath
>> > if there is a stack thisstack then
>> > start using stack thisstack
>> > else
>> > reporterror thefiles
>> > end if
>> > pass preopenstack
>> >end preopenstack
>> >
>> >cheers
>> >Xavier
>> >
>> >> -----Original Message-----
>> >> From: use-revolution-bounces at lists.runrev.com
>> >> [mailto:use-revolution-bounces at lists.runrev.com] On
>> Behalf Of David
>> >> Burgun
>> >> Sent: Friday, September 09, 2005 13:19
>> >> To: How to use Revolution
>> >> Subject: preOpenStack Weirdness
>> >>
>> >> Hi,
>> >>
>> >> I have a stack that has a preOpenStack handler in the
>> Stack Script.
>> >> When I try to do the following I get a error:
>> >>
>> >> start using stack "/Documents/RunRev/Stacks/Main.rev"
>> >>
>> >> This statement causes an error saying that the Stack Cannot be
>> >> found but I know's is there and if I run this script in a mouseUp
>> >> handler or in the openStack handler it works ok.
>> >>
>> >> Why doesn't this work as expected??
>> >>
>> >> Thanks a lot for your help
>> >> All the Best
>> >> Dave
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> >_______________________________________________
>> >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
>>
>
>_______________________________________________
>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