<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [Javascript] Function arguments...</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Carlos, where are you getting your examples? What books are you reading? What courses have you taken? I apologize if this sounds harsh but it appears you are posting questions to this JavaScript that should be posted to other language and server oriented lists. Take a look at <A HREF="http://www.adopenstatic.com/personal/help.asp" TARGET="_blank">http://www.adopenstatic.com/personal/help.asp</A> </FONT></P>

<P><FONT SIZE=2>Bob Filipiak (Contractor)</FONT>
<BR><FONT SIZE=2>MCP </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Carlos [<A HREF="mailto:carlos@unica.cu">mailto:carlos@unica.cu</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, May 03, 2001 10:13 AM</FONT>
<BR><FONT SIZE=2>To: Javascript List</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] Function arguments...</FONT>
</P>
<BR>

<P><FONT SIZE=2>function Modify(X) {</FONT>
<BR><FONT SIZE=2>&nbsp; X = X + 5;</FONT>
<BR><FONT SIZE=2>&nbsp; return(X);</FONT>
<BR><FONT SIZE=2>}</FONT>
</P>

<P><FONT SIZE=2>Oh...I understand that if you return the value of X to the caller, then you</FONT>
<BR><FONT SIZE=2>can get the value of X, but what about if you want to return another value</FONT>
<BR><FONT SIZE=2>to the caller but still you desire to modify the value of X, for example...</FONT>
</P>

<P><FONT SIZE=2>function Modify(X) {</FONT>
<BR><FONT SIZE=2>&nbsp; X = X + 5;</FONT>
<BR><FONT SIZE=2>&nbsp; return(X * 10);</FONT>
<BR><FONT SIZE=2>}</FONT>
</P>

<P><FONT SIZE=2>I'm only want to know if it is possible without using objects properties,</FONT>
<BR><FONT SIZE=2>like this example:</FONT>
</P>

<P><FONT SIZE=2>function Modify(X) {</FONT>
<BR><FONT SIZE=2>&nbsp; X.Increment = X + 5;</FONT>
<BR><FONT SIZE=2>&nbsp; X.Multiplication = X * 10;</FONT>
<BR><FONT SIZE=2>}</FONT>
</P>

<P><FONT SIZE=2>The above code, works, but well, that's not what I meant, if anyone</FONT>
<BR><FONT SIZE=2>inderstood...</FONT>
</P>

<P><FONT SIZE=2>Carlos</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Javascript mailing list</FONT>
<BR><FONT SIZE=2>Javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2><A HREF="http://www.LaTech.edu/mailman/listinfo/javascript" TARGET="_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P>

</BODY>
</HTML>