multi-line comments in apl? in ruby

In APL, there is no specific syntax for multi-line comments. However, you can simply use a single-line comment character (;) at the beginning of each line to achieve a similar effect.

Here's an example:

; This is a comment
; This is another comment
; And yet another comment
72 chars
4 lines

Ruby

In Ruby, you can use the =begin and =end delimiters to create multi-line comments.

Here's an example:

main.rb
=begin
This is a multi-line comment in Ruby.
You can write as many lines of comments as you want
=end
102 chars
5 lines

Please note that some IDEs or text editors may have their own shortcuts or commands to insert multi-line comments for specific languages.

related categories

gistlibby LogSnag