This is the way I handle a similar situation. I have one prg called CLASSDEF.PRG that has all my programmatic class definitions. Then I include it in my SET PROCEDURE TO command. If you like you can SET PROCEDURE TO before creating the class and then RELEASE PROCEDURE. Again, keep in mind whether you need/want the ADDITIVE clause if you use this technique.
>No. In the LOAD of the form, I run the program, make_classes. Later in the form, if the user chooses to route the trips, I create an object of type 'router'. It worked for a while, but most of the time, it says it can't find the class definition.
Previous
Next
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