Docs » Autodocs » iffparse.library » GoodType
GoodType -- test if a type follows the IFF 85 specification. (V36)
isok = GoodType(type) D0 D0 LONG GoodType(LONG);
Tests the given longword type identifier to see if it meets all the EA IFF 85 specifications for a FORM type (requirements for a FORM type are more stringent than those for a simple chunk ID). If it complies, GoodType() returns non-zero, otherwise 0.
type - potential 32 bit format type identifier.
isok - non-zero if this is a valid type id, 0 otherwise.
GoodID()
|