Adding comments in the code on DOpus std cmds editor?

I wonder if there's a way to add comment lines starting with a particular character or sequence...

This can be handy to put some comments on functions also not in dos-batch...

I tried ' , : , but it doesn't work. I tried also some other characters and searched in the manual, but i did not found anything relating to that.

Is there a particular character?
Or, the easiest way for now is to create a kind of empty user command, which does nothing at all with the comment argument?

Thanks

You can use ;.

Edit: Weird, I was sure that used to work - seems to be either broken or my memory is failing.

I just tried with and without ;
It doesn't seem to work for me either

I meant with and without space after ;
sorry

It's the same as JavaScript comments,

// This is a comment in Opus Button code

I seem, to recall there are one or two situations where comments won't work, but memory fails me at the moment if that's actually true.

1 Like

ahahaha thanks John!

Damn, as in C too.
I didn't even tried as I was almost sure it wouldn't work...

Funny one!

I'll see if I get some errors sometimes, but i'll probably just use this at the beginning of the code, so there wouldn't be nested and same code line comments!