Subprocedure Basics
I have just gotten in the habit of creating a subproc called Main. Then the only true mainline code is a call to Main. From within Main, any variables you declare will be local to Main and you'd have to pass them to other subprocs to use them elsewhere. Then globally defined fields remain globally defined for a reason.
I have just gotten in the habit of creating a subproc called Main. Then the only true mainline code is a call to Main. From within Main, any variables you declare will be local to Main and you'd have to pass them to other subprocs to use them elsewhere. Then globally defined fields remain globally defined for a reason.
Comment