loading
 
cScript
Anonymous  [11 posts]
2 years
I want to create a new variable making mathematical manipulation to probed lines count variable. please kindly linform me.  
Steven Gentner from United States  [1371 posts] 2 years
Fernando,

This can be done in the cscript module (or VBScript or Python or Jscript modules). You would use something like

int var;

var = getVariable("PROBED_LINES_COUNT");

var = var*3 + 5; // some calcaultion

setVariable("probe_result", var);

but the format will change slightly based on the language used. Above will work in CScript.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index