Hi,
is there an option in the IDE to fully re-start the project - ie. so it runs through it's initialisation and splash screen etc?
Most IDE debuggers have an obvious way of doing this, but I can't find it in Livecode, I'm having to quit or close/remove from memory and reload to restart things.
--- It may well be that I've looked past it every time and not realised what it was, but I don't think that's the case..
RJ.
How to Re-run a project in the IDE?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How to Re-run a project in the IDE?
There's no automatic way to do it. If the initialization requires a whole series of startup messages coming from the engine then reopening it is probably the easiest way. I usually have a single handler that does all the initialization and I just call that from the message box. Alternately you could call each engine message serially from the message box.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: How to Re-run a project in the IDE?
I suggest this, on another stack:
########CODE#######
on purge mystack
set the destroyStack of myStack to true
set the long name of stack mystack into temp
put the last word of temp into tPath
close myStack
go to stack URL ("binfile:" & tPath)
end purge
#####END OF CODE#####
########CODE#######
on purge mystack
set the destroyStack of myStack to true
set the long name of stack mystack into temp
put the last word of temp into tPath
close myStack
go to stack URL ("binfile:" & tPath)
end purge
#####END OF CODE#####
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w