AMT Help Files
homeLION Language ReferenceCommandsCONCATWITHSPACE

CONCATWITHSPACE

Syntax

<Destination> := CONCATWITHSPACE (<Item1>, <Item2>[, <Length>])

Description

Concatenates an item with another item with a space ' ' character between them. If a length variable is specified, the length of the result will be assigned to that variable.

Diagram

Returned value type

Realstring

Parameters

Parameter Description
<Destination> Field into which the result value is copied.
<Item1> The first item to be concatenated.
<Item2> The seconds item to be concatenated.
<Length> Numeric variable where the length of the result will be assigned.

Remarks

The length of the result will include the space character.

Examples

ResultString := concatwithspace ('Hello', 'world')

ResultString := concatwithspace (str, 'world', si-length)

ResultString := concatwithspace (str, str2, LengthVar)

Return to

Commands

Contents

 Go to top