From 294854ff13ee8e4ee71e72fb8d3527ef9ae03d9c Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 23 Jun 2000 20:56:07 +0000 Subject: [PATCH] Added .CONCAT git-svn-id: svn://svn.cc65.org/cc65/trunk@114 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/ca65.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/ca65.txt b/doc/ca65.txt index 9c5062991..d46a93844 100644 --- a/doc/ca65.txt +++ b/doc/ca65.txt @@ -304,6 +304,7 @@ Available operators sorted by precedence: ------------------------------------------------------------------- * Builtin pseudo variable (r/o) 1 .BLANK Builtin function 1 + .CONCAT Builtin function 1 .CONST Builtin function 1 .CPU Builtin pseudo variable (r/o) 1 .DEFINED Builtin function 1 @@ -637,6 +638,24 @@ Here's a list of all control commands and a description, what they do: See also the .SEGMENT command. +.CONCAT + + Builtin function. The function allows to concatenate a list of string + constants separated by commas. The result is a string constant that + is the concatentation of all arguments. This function is most useful + in macros and when used together with the .STRING builtin function. + The function may be used in any case where a string constant is + expected. + + Example: + + .include .concat ("myheader", ".", "inc) + + This is the same as the command + + .include "myheader.inc" + + .CONST Builtin function. The function evaluates its argument in braces and -- 2.39.5