Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What exactly is a
Message
From
25/11/2004 13:06:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
25/11/2004 13:05:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00964046
Message ID:
00964738
Views:
11
>>Hi Cetin
>>
>>I'm already against the overhead of set procedure... ;)
>>
>>>>Hi Albert
>>>>
>>>>I strongly believe such a functions should be their own .PRG. If naming it is hard, imagine the added difficulty of trying to remember both the name and in what library to find it! Not only that, but you never even need a set procedure to to use it. That seems to me to make it even easier to use!
>>>>
>>>>It certainly should be a name that is explicit for the return value. You call the function for it to return something. You can comment the header of the function with keywords so you can find it again later, whatever you call it.
>>>
>>>Mike,
>>>What about putting it into a class library (possibly a prg one). It might prevent other potential problems. ie: say FuncName as a prg, as a function in current procedure file(s), as an array, as a stored procedure. Precedence would kick in here and user might be stumped to get different results sometimes hard to debug. With a class library you'd have chance to alias it.
>>>Cetin
>
>Overhead? How much overhead would you expect - a human noticable one?
>Cetin

It's not just performance it's also trying to find it later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform