From bc1162bc489477c20ac9e51d3d48ab438c14b45d Mon Sep 17 00:00:00 2001 From: Ekickx Date: Thu, 12 May 2022 16:15:58 +0700 Subject: doc: add note for `#{}` syntax (#95) --- doc/docs/doc/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index abff593..c772765 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md @@ -1237,6 +1237,7 @@ some_string = "Here is a string that has a line break in it." -- You can mix expressions into string literals using #{} syntax. +-- String interpolation is only available in double quoted strings. print "I am #{math.random! * 100}% sure." ``` @@ -1245,6 +1246,7 @@ some_string = "Here is a string that has a line break in it." -- You can mix expressions into string literals using #{} syntax. +-- String interpolation is only available in double quoted strings. print "I am #{math.random! * 100}% sure." -- cgit v1.2.3-55-g6feb