Hi,
One way of doing it is like this:
put "stack " & quote & myStackFilePath & "LibStack.rev" & quote
into myTempStackFilePathName
get value("LibStartUsing(" & theParam1 & "," & theParam2 &
")",myTempStackFilePathName)
Then in LibStack:
function LibStartUsing theParam1, theParam2
start using me
end LibStartUsing
That way the Stack is loaded before the start using is actually run.
Hope this helps
All the Best
Dave
On 13 Apr 2006, at 02:32, Stephen Barncard wrote:
I have a chicken-and-egg situation..
I have a stack startup handler that works fine until it does a
'start using' for a library stack, and then immediately needs to
use a handler in that stack just included.
What happens is that the code keeps marching along, the lib isn't
active yet... and --- error.
I've put a 'wait 30 ticks' then a 'wait 60 ticks' before
continuing. Not long enough? I know, I know, cheesy too.
What's the best way to allow the lib to load.. and how do I wait or
hold for it?
I know there's an 'librarystack' message..
thanks.
sqb
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution