Avaloq Script Practice Exam Prep – Practice Questions & Study Guide

Session length

1 / 20

How can you comment out a line in Avaloq Script?

Using '##' for single-line comments

Using "//" for single-line comments or "/* ... */" for multi-line comments

In Avaloq Script, the correct method for commenting out a line includes using '//' for single-line comments as well as using '/* ... */' for multi-line comments. This versatility allows developers to choose the appropriate style of commenting based on their needs; for instance, if a single line of code needs to be explained or temporarily disabled, the single-line comment identifier '//' can be used. On the other hand, if a block of code requires commenting, the multi-line comment syntax '/* ... */' is ideal, as it allows multiple lines to be commented out at once without having to use the single-line identifier repeatedly.

This capability to employ both single-line and multi-line comments helps in maintaining the codebase clearly and ensure that important notes or explanations can be easily added without affecting the execution of the code.

Get further explanation with Examzify DeepDiveBeta

Using '#' for comments

Using '//' for comments only

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy