diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 7f1421db3..b056445e3 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -1199,6 +1199,26 @@ either a string or an expression. See: +.IDENT + + The function expects a string as its argument, and converts this argument + into an identifier. If the string starts with the current /, it will be converted into a cheap local + identifier, otherwise it will be converted into a normal identifier. + + Example: + + + .macro makelabel arg1, arg2 + .ident (.concat (arg1, arg2)): + .endmacro + + makelabel "foo", "bar" + + .word foobar ; Valid label + + + .LEFT Builtin function. Extracts the left part of a given token list.
+ + The function expects a string as its argument, and converts this argument + into an identifier. If the string starts with the current /, it will be converted into a cheap local + identifier, otherwise it will be converted into a normal identifier. + + Example: + + + .macro makelabel arg1, arg2 + .ident (.concat (arg1, arg2)): + .endmacro + + makelabel "foo", "bar" + + .word foobar ; Valid label + + + .LEFT Builtin function. Extracts the left part of a given token list.
Builtin function. Extracts the left part of a given token list.