1 Reply Latest reply on Aug 31, 2010 12:44 PM by TSGal

    The DDR incorrectly reports comments as Functions



      The DDR incorrectly reports comments as Functions


      FileMaker Pro



      Operating system version

      OS X 10.6.4

      Description of the issue

      When creating a calculation that has // style comments in it, when you generate a DDR, the comments are incorrectly reported as FunctionRef style chunks, when they should be reported as a NoRef type. 

      Even better would be a "CommentRef" type, but that doesn't currently exist.

      Steps to reproduce the problem

      Create a new file with one calc field and the following calculation :

      "abc" &

      Then generate the DDR and have a look at the calculation node, and the various chunks it's broken into.  The comment is listed as :


      Which makes it very hard to accurately define in anything that looks for functions in the DDR.

      Expected result

      I'd expect to see a "NoRef" type chunk instead of the FunctionRef type.

      I'd prefer a "CommentRef" type was created for both this and /**/ style comments, but the next best solution is to not categorise them as functions.

      Actual result

      You get the inaccurate FunctionRef type.

      Exact text of any error message(s) that appear


      Configuration information

      The same applies to v10 and earlier as well.  I can supply a sample file and DDR if required.