How can I add a comment line in Maple TA?


Sometimes it is handy to put comments in the algortihm section to explain and later remember how the algorithm works. You can enter comments by starting a line with a ':' and ending it with a ';' like:

:# You can enter comments by starting with a colon ':' and ending the line with a semicolon ;

I usually add a '#' directly after the ':' to make it more visible. It is not necessary.

 

NB: Apparently using a single quote ' within your comment line, like using the word don't in your commentline can cause malfunction. Better write
":# do not #;

in stead of

":# don't #; 

Laatst bijgewerkt:
2016-12-02 11:06
Auteur:
Harrie
Revisie:
1.9
Gemiddelde beoordeling:0 (0 Stemmen)

U kunt commentaar op deze vraag geven

Chuck Norris has counted to infinity. Twice.