So it is better to use something like the following than checking each element in a loop yourself?
if(a->type_field & ~BIT_STRING) { array_fix_type_field(a); if(a->type_field & ~BIT_STRING) Pike_error("Argument is not array(string).\n"); }
/ Martin Nilsson (räfsfiskal)
Previous text:
2004-04-29 19:38: Subject: type_field
The type field is supposed to include all types in the array at all times. However, there is no guarantee that all types in the type field exists in the array, except right after you call array_fix_type_field().
/ Fredrik (Naranek) Hubinette (Real Build Master)