summaryrefslogtreecommitdiff
path: root/tests/examplefiles/macaulay2/test.m2
blob: 3bf0cf28b1789d341123e505a3570759d81f0c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"this is a string"

"this is how we \"escape quotes\" in a string"

"this is how " | "we concatenate strings"

///this is also
a string///

///to escape forward slashes (/) in a string, we
use an even number in the middle //// or an odd number
(at least 3) at the end///

-- this is a comment

-* this is
also a comment *-

-* two comments *- 2 + 2 -* on the same line *-

for i from 0 to 10 do print QQ

end