March 17, 200421 yr I just discovered that comments can be inserted into calculation fields. The syntax appears to be /*comment*/
March 17, 200421 yr 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 (* this is a Pascal comment *)
March 17, 200421 yr 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
March 17, 200421 yr 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
March 25, 200421 yr Hi, Do the comments come up in the Dbase or are they just for internal housekeeping?
March 25, 200421 yr Author The comments in calculation fields just seem to be internal housekeeping, to use your term.
Create an account or sign in to comment