Page 1 of 1

Question on eValid's parametric script file

PostPosted: Mon Jun 22, 2015 3:30 pm
by LydiaC
Hey eValid.

The way eValid has of incorporating data parametrically is neat and we like how it works, but is there any other way to feed parametric data into a parametric script file?

Thank you much!

Re: Question on eValid's parametric script file

PostPosted: Tue Jun 23, 2015 10:20 am
by eValid
LydiaC wrote:Hey eValid.

The way eValid has of incorporating data parametrically is neat and we like how it works, but is there any other way to feed parametric data into a parametric script file?

Thank you much!


Thanks for asking LydiaC.

Yes, there are ways to feed data in that also take advantage of the parametric macro-substitution feature.

You might look at this method, which we call "value extraction," described here:

http://www.e-valid.com/Products/Documen ... tract.html

As you can see, if you have a file like this:

$VAL1=100 $VAL2=200 $VAL3=300 ...
$VAL1=101 $VAL2=201 $VAL3=301 ...
$VAL1=102 $VAL2=202 $VAL3=302 ...
$VAL1=103 $VAL2=203 $VAL3=303 ...

At some point in your script you want to copy in the entire line then you simply tell your script to do this with the command

!file|number

where file is the name of the file and number is the line number in the file. If you type in:

...!file!2

you will get line 2, that is:

$VAL1=101 $VAL2=201 $VAL3=301 ...

-- eValid Support