<< Prev        Next >>

ID : 454

String Type

String data.

Expression of Immediate Data by Program Description

String expression in a program is enclosed by double quotation marks ("xxx").

"DENSO ROBOT"

Global Variable

Global variable of string type is S type.

The maximum number of bytes that can be stored in one S type global variable is 255.

Local Variable

"String" is designated for string type local variable declaration. Up to 2G character data can be stored in one local variable.

Dim aaa As String

aaa = "DENSO " & "ROBOT"

Precautions for String Type Variable

If string data over 255 bytes are assigned when you store a string to string type global variable, an error level 1 occurs.

ID : 454

<< Prev        Next >>