Evaluate expression
eharetea

Using expressions in hscript.

Expressions Hscript.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Friday August 01st, 2008 01:53 PM

EXPRESSION IN FOR LOOP:

/*
Using expressions in hscript:
this just makes a loop based on the number of arguments in $var and
increments y
When using expressions in hscript, you enclose them with backticks ` `
*/

set var = hmmmm... hello world!
set y = 0
for x  = 1 to `argc($var)-1`
  set y = `$y+1`
  echo $y
end