View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
You can use the eval method:
var a = "day";
eval("var one" + a + " = 'something';");

FoxWeb Support Team email

Sent by Ramon on 12/23/2003 11:23:51 AM:
can anyone tell me what is the equivalent of vfp "&." to javacript.
in vfp:
a = "day"
private one&a., two&a.
which says declare a private variables name, oneday and twoday.
how can i do this in javascript?