The compiler objects to the continuation character in the example below, says it's not a valid character there. The truth is that the comment is not allowed there (should it be allowed there?), and the error message is wrong.

param enum F
  caption = "F"
  enum =  "a" \      ; comment
      "b"
endparam

It's fine without the comment.

param enum F
  caption = "F"
  enum =  "a" \
      "b"
endparam
The compiler objects to the continuation character in the example below, says it's not a valid character there. The truth is that the comment is not allowed there (should it be allowed there?), and the error message is wrong. ```` param enum F caption = "F" enum = "a" \ ; comment "b" endparam ```` It's fine without the comment. ```` param enum F caption = "F" enum = "a" \ "b" endparam ````
 
0
reply

Have you try this?

param enum F
caption = "F"
enum = "a" ; comment \
"b"
endparam

Have you try this? param enum F caption = "F" enum = "a" ; comment \ "b" endparam

Andrea Spinozzi

https://fractalcosmo.com
 
0
reply

Then \ is part of the comment, so "b" is not one of the enum values.

Then \ is part of the comment, so "b" is not one of the enum values.
 
0
reply

Yes, after the second enum is not visible, but i think that you can't insert a comment in that way because you are inside the enum operator and the comment can be insert at the begin or at the end of the line.
i'm sorry i can't help you
Ciao

Yes, after the second enum is not visible, but i think that you can't insert a comment in that way because you are inside the enum operator and the comment can be insert at the begin or at the end of the line. i'm sorry i can't help you Ciao

Andrea Spinozzi

https://fractalcosmo.com
 
0
reply
184
views
4
replies
3
followers
live preview
Enter at least 10 characters.
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft