Jump to content
Server Maintenance This Week. ×

Naming Conventions


This topic is 8656 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it.

Thanks, regards, and yes I'm old, Kay ;-)

Link to comment
Share on other sites

quote:

Originally posted by kattatonic:

I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it.


Theories abound, but no standard has been set forth by anyone in the industry.

I originally started with the standard Hungarian notation, but found its short, more cryptic names did not suit FMP that well.

The "g" notation for global fields is fine, but they end up getting stuck amongst normal fields.

I use the following:

User input fields are named normally

Global fields are named _GlobalField

Calculations are named [calc] CalcField

Summary fields are named [sum] SummaryField

Display calcs are named [disp] DisplayCalculation

And so on...

This is nice becuase it not only allows sorting by name, but also by a category.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

Link to comment
Share on other sites

This topic is 8656 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.