SoFunction
Updated on 2025-04-12

Analyze the initial value of Yilan data type

The initial value is as follows:

0 → byteContents of variables

0 → Short integerContents of variables

0 → IntegerContents of variables

0 → Long integerContents of variables

0 → DecimalsContents of variables

0 → Double precision decimalContents of variables

Fake →Logical variablesContents

December 30, 1899 →Date and timeContents of variables

0 → Text variablesThe length of Chinese text

0 → Byte set variableNumber of bytes in

From the above display results, we can know:The initial values ​​of all numeric variables are 0, the initial value of the logical variable is false, the initial value of the date and time variable is December 30, 1899, the initial value of the text variable is empty text of length 0, and the initial value of the byte set variable is empty byte set. If the variable is an array, the initial value of each array member is the same as a single variable.

The above is related to the initial value of the data type of Yi Language. Thank you for your support.