Bracing with variables
eharetea

Basic bracing techniques for setting variables in Hscript.

Bracing techniques.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 02:48 AM

EXAMPLE USAGE:


set var1 = obj

set var2 = sop

set var3 = pop

set var4 = $var1${var2}$var3

echo $var4



--/> objsoppop



set var1 = obj

set var2 = sop

set var3 = pop

set var4 = $var1{$var2}$var3

echo $var4



--/> obj{sop}pop



//this can be helpful when concatenating a variable and some text 



set var4 = ${var1}hello



--/> ob