Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Marco Plaza's Code for nf_num2en.prg

Status
Not open for further replies.

ggreen61

Programmer
Jun 19, 2013
191
US
Marco--

First, thank you for sharing your code. In the code, you declare the arrays as private:

Code:
private abn,aun,atn,atw,an

I am curious as to why? I have gotten away from using private variables since the scope of them is visible to called programs which in the past has caused me many issues before the LOCAL declaration came about. I have a check in my editor to show undeclared variables (which by default would be PRIVATE). For arrays, I use the following declaration:

Code:
LOCAL ARRAY abn[1], aun[1], atn[1], atw[1], an[1]

This initializes and declares the array as a local object. If I have to pass an array to a function, then I pass by reference, @abn; or I use an object that has an array assigned as a property.

But I am just curious why you use PRIVATE?

Thank you.

Greg



Greg
 
Greg said:
The editor also has its own macro recording facility for saving repetitive key-strokes and then calling via hot-keys.
ZLOC is doing more than just replaying a macro, it's a macro command that result in the choice of variable names and constant defined at that point and does so at designtime what m. only does at runtime.

So maybe the more general question is do you allow intellisense functionality as in the internal editor with such niche features as ZLOC is? (I stress it as the normal autocomplete is surely available also when using Notepad++, for example.) Those things are what I'd miss from an alternate editor.

Chriss
 
Mike,

It's called FXFrame - my own proprietary framework. The initial version was developed 25 years ago and has been modified a bit over the years. For various reasons, I never released it to the public and I never will.

As you know, the great part about a good framework is that it allows developers to concentrate on application design without being bogged down with VFP minutia.
 
Interesting - good job! Complex application developement is very difficult without a good framework. Does MaxFrame allow forms to talk to each other?

Your screen shots remind me of an MRP system I developed awhile back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top