Tests a string for how it is stored.
ispacked( const string[] )
Tests a string for how it is stored. See Pawn documentation about string packed/unpacked storage. By default all strings are packed in the ezeio.
string | reference to string to be tested |
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.
new x; new s{6} = "Hello"; x = ispacked(s); // x is now 1