Jump to content

Discovery: comments in calculation fields!


Vaughan
 Share

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

Recommended Posts

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 *)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 6509 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
 Share

×
×
  • Create New...

Important Information

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