Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > Automation > SimWait

SimWait

Declaration
Parameters
Return Value
Remarks
Example
See Also

Declaration

object.SimWait()
Top of page

Parameters

object
Required. Always the name of a R2DToo.FrontEnd object.
Top of page

Return Value

None. Top of page

Remarks

Waits until simulation is paused before returning. Intended to be used with
StopIfAdd but will also return if user presses Pause Simulation button. Top of page

Example

' [VBScript] ' load Dim R2DToo Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") ' set stop condition R2DToo.StopIfAdd("Tick >= 1000") ' run and wait... R2DToo.SimRun() R2DToo.SimWait() WScript.Echo "Simulation paused!" ' unload Set R2DToo = nothing
Top of page

See Also

SimRun, SimRunWait, SimStep, StopIfAdd.
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:48pm