LO basic - how to comment out blocks of code in the basic editor?

Hi,

Sorry, but I can’t find how to comment out blocks of code in the LO Basic editor.
The microsoft VBA IDE has buttons to (un)comment blocks of code, but I can’t find those in LO. And I also can’t find an equivalent of /* … */.

What are my options in LO?

tnx

What are my options in LO?

Commenting lines manually? Coming with a patch introducing “(Un)Comment block”? (Yes, there’s no multiline comments syntax in BASIC language.)

tnx for replying!

140004 – Allow commenting out or disabling of code blocks in BASIC IDE

The shortcut Ctrl + Alt + C is used to execute it.
It works similarly to other code editors such as Kate and VSCode.

3 Likes

Whe can also use tags to avoid the execution of code parts

Goto Jump
print "Hello"
print "how are you"
Jump:
print "you can't see the previous prints"