Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making CTOD() work in Europe
Message
From
19/11/2018 10:00:49
 
 
To
19/11/2018 08:56:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01663465
Message ID:
01663539
Views:
42
>...I would create a separate file and call it my_ctod.prg. I have stopped using procedure files many years ago, much easier with separate files.

Most of our apps use a common utility.prg which contains the bulk of all functions we need globally. We also use stored procedures for those specific to the data. Our newid() function, for example, is always in the dbc so it's the correct one. But, our app_messagebox() function is in utility.prg, so it's a common one shared by our various apps.

I've always found it better to use procedure files for encapsulation of related things. For things like pdf3.prg, which are really stand-alone, it's better to have them in their own file.

My $0.000002 +/- :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform