Forums
This topic is locked
stupid question
Posted 28 Jun 2003 09:05:14
1
has voted
28 Jun 2003 09:05:14 Tony Chronopoulos posted:
When ever I make a function in asp, i always use the () after the function name. Does it matter if you don't use the () ?ex:
Function getTimestamp
code
code..
End Function
instead of
Function getTimestamp()
code
code..
End Function
___________________
redtag | auto
www.redtagauto.com
Replies
Replied 28 Jun 2003 13:53:45
28 Jun 2003 13:53:45 Rammy Nasser replied:
you should always put the (), its convention,,, and we mortals are not supposed to argur with that... no now anyways..
Replied 28 Jun 2003 13:58:03
28 Jun 2003 13:58:03 Tony Chronopoulos replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
you should always put the (), its convention,,, and we mortals are not supposed to argur with that... no now anyways..
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I always put the () in the functions. It's just that I didn't realize that I didn't put them for one of them and I've been calling that function from several pages! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> It still works but I have to change it now cause it's bugging me! heheh
Thanks
___________________
redtag | auto
www.redtagauto.com
you should always put the (), its convention,,, and we mortals are not supposed to argur with that... no now anyways..
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I always put the () in the functions. It's just that I didn't realize that I didn't put them for one of them and I've been calling that function from several pages! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> It still works but I have to change it now cause it's bugging me! heheh
Thanks
___________________
redtag | auto
www.redtagauto.com