Syntax:
$break_array(const-conditional-expression);
When used in a user-defined type, unconditionally breaks an enclosed array.
The parameter, which must be a constant value, specifies whether the current element should be included into an array (const-conditional-expression
= true), or not (const-conditional-expression
= false)
May be used either in conjunction with infinite array or with an ordinary array. If used not inside an array, the directive is ignored.
struct StringCharacter
{
char c;
if (c == 0)
$break_array(true);
};
struct NullTerminatedString
{
StringCharacter chars[*];
};