256
K
A
DAK
AMX 86 Procedures
ajlnext ajlnext
Purpose Find Next Object on List
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup #include "amx83lsd.h"
.
.
struct amxlhs list;
struct appobj *object, *curobj;
.
.
object = ajlnext(&list, curobj);
ES:BX DS:SI ES:BX
Where &list is a pointer to the list header.
curobj is a pointer to an object on this list.
Results Interrupts are untouched.
object = pointer to the next object on the list following the object
specified by curobj.
object = NULL if curobj is at the tail of the list.
The object remains on the list.