This procedure takes an image and a guide ID as input and finds the guide ID of the successor of the given guide ID in the image's guide list. If the supplied guide ID is 0, the procedure will return the first Guide. The procedure will return 0 if given the final guide ID as an argument or the image has no guides.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
INT32
guide
The ID of the current guide (0 if first invocation)