Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do a multiline comment in Julia?

Tags:

comments

julia

My Google search at first only lead me to a massive discussion thread on github (https://github.com/JuliaLang/julia/issues/69). While certainly insightful and interesting, I think it is convenient for many to have this question answered immediately on stackoverflow.

like image 601
Johannes Walter Avatar asked Aug 10 '20 08:08

Johannes Walter


People also ask

How do you insert a multi line comment?

Multi line comments in Java start with /* and end with */. You can comment multiple lines just by placing them between /* and */.


1 Answers

Multiline comments can be written by putting #= before the comment and =# after the comment. Like so

#=
enter comment here
=#

Note that these are nestable as well.

like image 95
Johannes Walter Avatar answered Oct 11 '22 01:10

Johannes Walter