[Javascript] Functions arguments...

Rees, Mark (TWIi London) mrees at twii.net
Thu May 3 07:35:07 CDT 2001


On the subject of datatypes, your best bet is to download the jscript
documentation from MS and review the conversion functions, toString for
example.:

http://msdn.microsoft.com/scripting/

Mark

-----Original Message-----
From: Carlos [mailto:carlos at unica.cu]
Sent: 03 May 2001 14:28
To: Javascript List
Subject: [Javascript] Functions arguments...


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


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list