[Javascript] Functions arguments...

Carlos carlos at unica.cu
Thu May 3 08:27:32 CDT 2001


Well, it seems that nobody can help me with the conversion of variant into a
string...if anyone can, please email the answer, I'm in a hurry...

Meanwhile I want to ask another question...
How can I pass an argument to a function, modify it inside the function, and
then that this modification reflects outside the function, if no one can
understand, I put an example...

function Modify(X) {
  X = 5; //This value of X won't go outside the function
}

So, if I call the function Modify(X), then X will remain undefined, in
others words, if any have programmed in pascal can associate this to the
"var" keyword in a function or procedure, which allows the function modify
the value of a variable...

And again, my question...How can I convert a variant type to a string or a
byte or an integer???...

Thanks





More information about the Javascript mailing list