ezeio2:scriptref:ispacked

This is an old revision of the document!


Returns 1 if the string is packed.

Description

ispacked( const string[] )

Returns 1 if the string is packed (single byte per character).

Return 0 if the string is using a cell (4 bytes) for each character.

Parameters

string reference to string to be tested

Return value

This function returns the packed status of a string

Example usage

    new x;
    new s{6} = "Hello";
 
    x = ispacked(s);
 
    // x is now 1
  • ezeio2/scriptref/ispacked.1560621773.txt.gz
  • Last modified: 2019-06-15 18:02
  • by andreh