I wanted to print square brackets using something like:
: print "[Your score has increased by 5 points.]";
but it doesn't print the brackets or anything within the brackets. Square brackets are normally used to contain the elements of an array, but you can't print an array from within a string (as far as I know), so why doesn't this work? I tried escaping the brackets using \[, but this gives an error. The error implied that there were lots of different escape sequences available.
After a bit of trial and error, I found that:
: print "[[Your score has increased by 5 points.]]";
works. Could this and any other escape sequences be documented, please?