
October 14th, 2002, 12:50 PM
|
 |
Contributing User
|
|
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114
Time spent in forums: 1 m 33 sec
Reputation Power: 7
|
|
Sub and Function Page (Program Question)
Hi,
This has to do with creating clean programs. What are the up's and down's to using one page for your Sub's and Functions and calling that as an include into the pages that you need them in. Compared to just written the sub or function multiple times in each page that you need it in.
Another question that I have is, is there a way to call a function instead of it automatically running on page load. For example you would have the function be in the code but until you set it to run by something like Funtion your_function that is wouldn't use system rescources.
Thanks,
Last edited by adurstew : October 14th, 2002 at 01:06 PM.
|