Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Compatible Unicode Intrinsic Functions - CurEbcdicSize Method

Panel
bgColor#2c3c4c

Length of the string in EBCDIC

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Returned size

Details

CurEbcdicSize returns the number of bytes a string would require if it was running in an EBCDIC environment.

In a DBCS environment shift in and shift out bytes are used for DBCS values. These bytes are not used in ASCII. A string that may be short enough to fit in a variable in Windows may not fit when running on the IBM i.


See also

All Component Classes

Technical Reference