Hey everyone. I'm just starting out in the world of ASP, and I have a
very basic question. Can anyone tell me why when I run the following
code in a script:
if linelength > 80 then
numlines = linelength/80
formatnumber(numlines,0) 'removes trailing decimals
response.write(line)
response.write "<br>"
toAdd = (numlines+1)*80
char=char+toAdd
end if
I am met with the error "Microsoft VBScript compilation (0x800A0414)
Cannot use parentheses when calling a Sub"
If I comment out the formatnumber(numlines,0) and add
response.write(numlines) to see what is being stored in the variable,
I get a normal value of 3.275, all ready to be formatted. I'd really
appreciate any help. Thanks a lot
-Geoff
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hdubfeu/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123079795/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/