String Type

The String type is used to declare variables for storing Strings. For example…

String sName

Move "John" to sName

DataFlex allocates one byte of storage per character contained in the string. The size of a string variable is dynamically allocated at runtime as the string value changes in length.


We recommend storing binary data in UChar arrays instead of string.


For more information regarding string variables, refer to Declaring Variables and the String command.