Announcement

Collapse
No announcement yet.

main() parameters disappearing!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • main() parameters disappearing!

    Does anyone have any experience of why main() parameters will suddenly stop appearing as parameters in Edit Studies?

    I have several saved versions of my efs as it is being developed. Earlier versions had their main() parameters appearing ok but suddenly in the lastest two versions the parameters willl not appear. No changes have been made to parameters in the last two versions.

    The parameters are not defined in a var statement - only in the function main() statement.

    I have now changed the statement to one parameter:

    function main(test) {

    and this doesn't appear either!

    Grateful for any clues!

    Thanks

    Maurice

  • #2
    Hi,

    This has been talked about before (twice) and should go into a FAQ of common problems I would guess.


    Look at the comments in the code for the studies having problems. If you have a comment that has "main()" in it change it to "main". ie:

    // main() is the workhorse for EFS

    to

    // main is the workhorse for EFS

    It seems the EFS engine ignores the comments in this one case.

    G
    Garth

    Comment


    • #3
      Garth

      What a star you are !

      That was exactly the problem - I had commented out a call to main()

      Many thanks

      Maurice

      Comment

      Working...
      X