Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I just discovered that comments can be inserted into calculation fields. The syntax appears to be

/*comment*/

Posted

Multi-line and nested C style comments also accepted (copied from FM7 help):

/* This is a calculation with C style nested and multi-line comments

/*----- It returns the title if it exists in a name -----*/

*/

C++ style comments are also accepted:

Greeting & "!!" // returns Hello!! if field Greeting contains the string "Hello"

But I want Pascal style comments wink.gif

(* this is a Pascal comment *)

Posted

There are other places where comments can be entered. See field definitions and scripts for example. Also you might take a llook at the DesignFunctions to see where you can extract comments.

Steven

Posted

Did you see the character qualifier for calculations? No more counting if you need quotations in a calc field. just put a backslash in front of it.

e.g. "She said, "" & textField & "", and left the room."

If you've ever generated html from field values, that's worth the price of admission.

Paul

Posted

Hi,

Do the comments come up in the Dbase or are they just for internal housekeeping?

Posted

The comments in calculation fields just seem to be internal housekeeping, to use your term.

This topic is 7549 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.