Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filersrc_gaddr()rsrc_load()Resource Libraryrsrc_saddr() AESSyntaxWORD rsrc_saddr( type, index, addr )
WORD type, index;
VOID *addr;
Function rsrc_saddr() sets the address of a resource element.
Opcode 113 (0x71)
Availability All AESversions.
Parameters type specifies the type of resource element to set as
defined under rsrc_gaddr(). index specifies the index of
the element to modify (0 based). addr specifies the actual
address that will be placed in the appropriate data
structure.
Binding intin[0] = type;
intin[1] = index;
addrin[0] = addr;
return crys_if(0x71);
Return Value rsrc_saddr() returns 0 if an error occurred or non-zero
otherwise.
Comments In most cases, direct manipulation of the structures involved is quicker and easier than using this call.
See Also rsrc_gaddr(), rsrc_load()Group Resource Library