Skip to content
Robert Kuhfß edited this page Oct 30, 2018 · 1 revision

Concat

Usage

concat(string1, string2)

This function concatenates two pieces of data, typically strings, together into a single piece of data.

Example

#define worldString "world"
#define spaceChar $20
#define helloString concat("hello", spaceChar)
#define helloWorldString concat(helloString, worldString)

helloWorldString now holds the data for "hello world"

The following two statements are equivalent:

.db helloWorldString,0

.db "hello world",0

Clone this wiki locally