@DATABASE "Control of TAG List"

@NODE MAIN "Control of TAG List"

@FONT Topaz@{FG Shine}				@{u}TAG LISTS MANAGEMENT@{uu}

@{FG Text}
  The TAGs are the major evolution coming with OS2.0. In fact, they represent
some types of parameters transmitted to functions. They allow to not use lots
of structures.

@{BG Fill}
@{" _tag List Alloc " Link _tag_List_Alloc}
@{" _tag List Free  " Link _tag_List_Free}
@{" _tag Set        " Link _tag_Set}
@{" _tag Done       " Link _tag_Done}
@ENDNODE

@NODE _tag_List_Alloc "_tag List Alloc"
@{BG Text}@{FG Fill}_tag List Alloc
@{BG Background}@{FG Text}
  This function allocates some memory for a TAG list.

	TAGLIST=_tag List Alloc(TAGNB)

	TAGNB	-> Number max of TAG in the list.

@ENDNODE

@NODE _tag_List_Free "_tag List Free"
@{BG Text}@{FG Fill}_tag List Free
@{BG Background}@{FG Text}
  This function frees the memory used by a TAG List.

	_tag List Free TAGLIST

	TAGLIST	-> Pointer of TAG List

@ENDNODE

@NODE _tag_Set "_tag Set"
@{BG Text}@{FG Fill}_tag Set
@{BG Background}@{FG Text}
  This function sets a TAG in the list and go to the next place.

	_tag Set TAGLIST,TAG,TAGDATA

	TAGLIST	-> Pointer of TAG list
	TAG	-> TAG value
	TAGDATA	-> TAG data

@ENDNODE

@NODE _tag_Done "_tag Done"
@{BG Text}@{FG Fill}_tag Done
@{BG Background}@{FG Text}
  This function specifies the end of a TAG List, and go to first location.
This allows you to use this list to others TAGs.

  ALWAYS USE THIS FUNCTION BEFORE TRANSMIT LIST TO A FUNCTION.

	_tag Done TAGLIST

	TAGLIST	-> Pointer of TAG List


@ENDNODE

