Thread View: alt.lang.basic
1 messages
1 total messages
Started by ST21519
Thu, 08 Oct 1992 22:35
Passing arguments to Procedures
Author: ST21519
Date: Thu, 08 Oct 1992 22:35
Date: Thu, 08 Oct 1992 22:35
11 lines
1033 bytes
1033 bytes
In the past I fell into the trap of declaring almost all of my variables as global ones as I only had a handful of them, but now the list keeps growing and I have begun looking to passing arguments as perhaps a better method of writing for memory considerations as well as just nicer looking code. Are there any potential "GOTCHAS" when one uses the same variable to pass to a procedure that is returned by the procedure? I have played with this on a very limited basis with Functions and would like to expand to Subprograms so far without any known problems. Thanks.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads