PDA

View Full Version : [FMX or F5] sending many variables through mail



comicGeek
November 14th, 2002, 04:30 AM
Can somebody please help me about sending variables through email? Is it possible to place all content of all variables into a single variable or into a certain preformatted text file before sending it through email?

Need help!

If possible please include an example!

thanks lots!\

comicGeek

eki
November 15th, 2002, 06:07 AM
HI,

I don't now about sending variables through email but if u want to place all content of all variables into a single variable you can do that easily by creating a
new Object(); object. It can store as many variables as u want( I guess it'll have a limit, don't know).
Ie.:
imagin you have this variables:


var fruit = pear;
var meat = beef;
var veg = carrot;
var pulse= lentil;

create a new object:


food = new Object();

store variables in object:


food.fruit = fruit ;
food.meat = meat;
food.veg = veg;
food.pulse= pulse;


Now food contains all the variables.

Cheers

SHO