Rev 3.0 Cloning problem
john at debraneys.com
Thu Sep 11 02:12:33 CDT 2008
Thanks for the guidance. Both your version and mine just stopped at the line
clone stack "resource_template"
That line is executed (and the resource_template stack is cloned), but the
next line is not.
I just tried inserting "Lock messages" before the "clone stack" command and
now it is ok. It struck me that there may have been another window message
handler being triggered that was interrupting the process.
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark
Sent: Wednesday, 10 September 2008 7:57 PM
To: How to use Revolution
Subject: Re: Rev 3.0 Cloning problem
The correct procedure is:
clone stack "resouce_template"
put it into myTempStackID
-- do other stuff here
set the name of myTempStackID to myStackName
You don't need the keyword "stack" before the variable containing the
long ID of the new stack.
Economy-x-Talk Consulting and Software Engineering
Benefit from our inexpensive hosting services. See
for more info.
On 10 sep 2008, at 06:55, John Tregea wrote:
> Hi Fellow Rev'ers,
> I have been trying out Rev 3.0 across a number of iterations and
> recently came across a problem (3.0gm Build 750).
> I have a piece of code that makes a clone of a stack, renames it and
> then populates the new version of the stack with data from a
> database. This has worked fine in 2.8, 2.9 and earlier iterations of
> The problem is that when the script gets to the clone command it
> performs that line then just exits as if there is no more code. No
> error is returned. Anyone seen this behaviour?
> The code looks like this.
> ifthereisnotastack tTheStack
> send"choose browse tool"tomein1tick
> setthenameofstack it to tTheStack
> The variable tTheStack contains the name for the new stack. In debug
> mode the variable is correctly populated, the stack IS cloned, then
> the script just exits.
> Any help would be appreciated
> John Tregea
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the use-livecode