Calling an eValid instance from inside the script

Discussion of the technology underlying the eValid solution.

Calling an eValid instance from inside the script

Postby DavidW » Mon Jan 02, 2023 11:11 am

Hi.

Can you tell me how do you call an eValid instance from within the script?

Are there more than one way to accomplish this?

Thanks
DavidW
 
Posts: 1
Joined: Mon Jan 02, 2023 11:07 am

Re: Calling an eValid instance from inside the script

Postby eValid » Tue Jan 03, 2023 9:18 am

DavidW wrote:Hi.

Can you tell me how do you call an eValid instance from within the script?

Are there more than one way to accomplish this?

Thanks


Thanks for posting your question, DavidW.

eValid supports two main modes of invoking scripts:

(1) a command-line invocation and (2) an in-script transfer of control.

(1) For the command line invocation see: http://e-valid.com/Products/Documentati ... html#index

As you can see, this is a robust interface, and you can pretty much do anything from the command line that you can from within a running eValid instance.

(2) Within a script you can transfer control to a different script with this command:

GoScript "[PATH]script-name" ["Data Substitution"] where the "parameters" are name/value pairs of the format: $Name1=Value1 $Name2=Value2 ...

Once you GoScript to another script you can't go back and, as a safety precaution, you can't GoScript to the script in which the script is embedded.

eValid thus prohibits "infinite loops" or self-referencing.

But here's a trick, this check in only one level deep and script A can call script B and then script B can call script A... if you really feel you have to.


-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons