Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
A given piece of code should be self-reliant. So write yourself an object that checks if a given set procedure or classlib is already in use. Then you can make a piece of code, it will open up whatever classlibs it needs (if they are not already open), and this object can release the classlib or procedure if it opened them.
Then you can drop any piece of code in just about anywhere and it will work.
>Hello guyes,
>I have a question pertaining to application development. In your opinion is it better to set up your procedure files and classlib in your main application startup program or set them when needed.
>
>I.E.
>procedure Main()
> Set procedure to myprocs additive
> Set Classlib to myclass additive
>endproc
>
>or
>
>Procedure WhenNeeded()
> Set procedure to myprocs additive
> Set Classlib to myclass additive
> usethem()
> Release procedure myprocs
> Release Classlib myclass
>
>endproc
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only