Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/insideptr.dc2
Дата изменения: Thu Jan 23 17:11:23 1992
Дата индексирования: Fri Jan 16 21:49:25 2009
Кодировка:

Function: INSIDEPTR

Purpose: Indicates whether inside or outside subframe defined by
INITPTR.

File: initptr.c

Author: K.G. Begeman

Use: LOGICAL INSIDEPTR( IP, Output INTEGER
NP ) Output INTEGER

INSIDEPTR Returns .TRUE. when still some data inside
subframe in readbuffer, else .FALSE.
IP If INSIDEPTR .eq. .TRUE., offset pointer from
start of readbuffer to where first data value
insiderame can be found.
NP If INSIDEPTR .eq. .TRUE., number of data values
inside subframe in readbuffer starting at IP.

Notes: When INSIDEPTR returns .FALSE. it reinitializes itself
to the state just after the call to INITPTR. So it can
be used again to do a different operation on data inside
the sub frame.

Related Docs: initptr.dc2, outsideptr.dc2

Updates: Nov 15, 1988: KGB, Creation date.
Feb 27, 1990: KGB, Reinitialization implemented.