Home | Advertising Info179 USERS CURRENTLY ONLINE   
   Site Search Contact Us Sunday, April 22, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Adding Functions
From: Nicholas J. Begich III
Date: 7/20/1999 3:48:58 PM


Please help. I am trying to add a total to my asp calculator at www.pregrade.com/list/calculator.asp

but I cant figure out how to add the results of functions. Ive been expirementing with theon below but every time I run it, the result is 510 rather than 6. How can I get the number to add properly? Your help is GREATLY appreciated.

Below is the text for the function addition I am testing:


2 working days from today is <%=carda%>
2 working days from today is <%response.write Int(carda) + Int(cardb)%>

<%Function carda

If cards=1 Then
response.write Int(5)
Elseif cards>1 Then
response.write Int(20)
End If

End Function

<%Function cardb

If cards=1 Then
response.write Int(1)
Elseif cards>1 Then
response.write Int(20)
End If

End Function

Follow Up - Re: Adding Functions - Tim 7/21/1999 8:18:17 AM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com