Walkera wrote:How does CallScript work? Can I select the next called script dynamically and CallScript it?
Excellent questions.
In fact, yes, not only can a CallScript pass parameters to the named script, but its parameters can also be parameterized.
That said, caution is advised here, for the following reason: While this kind of trick works just fine, it can be somewhat tricky to get it "right".
Remember, eValid handles parameter passing as a kind of "macro substitution" or "string substitution". The eValid script is NOT a programming language, but the ability to handle things dynamically is so important we had to include something like this in the product.
Another useful hint is to keep the values of ALL of your parameters in an Environment Variables file, which often is easier to adjust and modify than
the scripts are per se.
Oh, yes, as long as you ask, yes, the Environment Variables file can actually be constructed locally by eValid playbacks using, for example,
SaveRecord commands. But that may be going overboard.
eValid Technology Team