From f5b19906047cd318f901557731021ad136e5643f Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 22 Sep 2022 01:15:17 -0400 Subject: [PATCH] Document that symbol interpolation works outside of strings too --- man/rgbasm.5 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/man/rgbasm.5 b/man/rgbasm.5 index d22e6f73..077d527d 100644 --- a/man/rgbasm.5 +++ b/man/rgbasm.5 @@ -71,13 +71,11 @@ To do so, put a backslash at the end of the line: world!"\ \ \ \ \ \ \ \ \ \ \ ;\ Any leading space is included .Ed .Ss Symbol interpolation -A funky feature is -.Ql {symbol} -within a string, called +A funky feature is writing a symbol between +.Ql {braces} , +called .Dq symbol interpolation . -This will paste the contents of -.Ql symbol -as if they were part of the source file. +This will paste the symbol's contents as if they were part of the source file. If it is a string symbol, its characters are simply inserted as-is. If it is a numeric symbol, its value is converted to hexadecimal notation with a dollar sign .Sq $