CONV(3)

NAME

conv, GENPAT Package

SYNOPSYS

conv(variable or constant(integer));

DESCRIPTION

Convert an decimal integer, an decimal integer expression or a variable in a chain of char considered of base decimal.

EXAMPLE

affect(CONV(bar),"ck",CONV(foo),0);
At pattern number (content of bar), ck is affected with
the value represented by the content of the variable foo.
Let's suppose bar = 3, foo = 1, so this AFFECT is equivalent to
affect("3","ck","1",0);
affect(CONV(bar + foo),"ck","1",0);
At pattern number (foo + bar, here 4), ck is affected with the value 1.

SEE ALSO

genpat(1); pat(5)