a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 iffparse.library
  AllocIFF
  AllocLocalItem
  CloseClipboard
  CloseIFF
  CollectionChunk
  CollectionChunks
  CurrentChunk
  EntryHandler
  ExitHandler
  FindCollection
  FindLocalItem
  FindProp
  FindPropContext
  FreeIFF
  FreeLocalItem
  GoodID
  GoodType
  IDtoStr
  InitIFF
  InitIFFasClip
  InitIFFasDOS
  LocalItemData
  OpenClipboard
  OpenIFF
  ParentChunk
  ParseIFF
  PopChunk
  PropChunk
  PropChunks
  PushChunk
  ReadChunkBytes
  ReadChunkRecords
  SetLocalItemPurge
  StopChunk
  StopChunks
  StopOnExit
  StoreItemInContext
  StoreLocalItem
  WriteChunkBytes
  WriteChunkRecords
Include
GuruMeditation
Docs » Autodocs » iffparse.library » GoodType

NAME

	GoodType -- test if a type follows the IFF 85 specification. (V36)

SYNOPSIS

	isok = GoodType(type)
D0 D0
LONG GoodType(LONG);

FUNCTION

	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.

INPUTS

	type - potential 32 bit format type identifier.

RESULT

	isok - non-zero if this is a valid type id, 0 otherwise.

SEE ALSO

GoodID()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Black Lotus

PDX
AOA
CSL
TBL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se