2 Replies Latest reply on Feb 27, 2012 8:56 AM by philmodjunk

    What is /*IsEmpty ( Member_data::E_Mail )*/ for?



      What is /*IsEmpty ( Member_data::E_Mail )*/ for?


      I saw this syntax in an If statement in a script. Can someone explain what the asterisk and slash is for?

      /*IsEmpty ( Member_data::E_Mail )*/

        • 1. Re: What is /*IsEmpty ( Member_data::E_Mail )*/ for?

          The script or step has been copied nd likely pasted from a different context. If you're sure of what you want, simply remove the instances of "/*" and everything should be fine. But be sure!



          • 2. Re: What is /*IsEmpty ( Member_data::E_Mail )*/ for?

            /* */ are comment brackets. You can include explanatory text in them and FileMaker will ignore it when evaluating the expression. When you import an expression as part of Import Scripts or Import Records (with the new table option) or copy and paste script steps or fields from another source. Any that will trigger a syntax error due to not being able to find  table or field in the location where you imported it, will be enclosed in comment brackets (As Rick Whitelaw explained). This is to make it easier for you to find and correct them after the import.