DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Quit or Exit script

Hi,

I am running DIAdem script, there are multiple scripts involved. Mainscript will call further subscripts.

If a condition met in subscript, would like to exit from that particular subscripts and continue further in mainscript.

 

Whats the exact command to be used to exit from particular script?

 

is there GOTO label option available in DIAdem?

 

reagrds,

Durai

0 Kudos
Message 1 of 2
(1,332 Views)

Hi, 

 

In VBScript, "GoTo" is only associated with "On Error Resume Next".

In all other cases, "GoTo" is not part of the VBS command set.

You could try to use a Do While to check if the particular script is met and exit it.

 

Gus
NI Technical Support

0 Kudos
Message 2 of 2
(1,270 Views)