-
Notifications
You must be signed in to change notification settings - Fork 2
_pnext
bergsma edited this page Sep 26, 2014
·
3 revisions
#pnext
###Get the next record from the PROMIS file.
Syntax
status = pnext key ;
Arguments
- str key
The key field name for the PROMIS file.
Return Value
str status
- $ACKNOWLEDGE : The next record was fetched.
The STATUS variable is set to $ACKNOWLEDGE
- %IO : The next record not fetched.
The STATUS variable is set to %IO
Warnings
- %IO : The next record not fetched.
Exceptions
- %ARGUMENT: Invalid arguments. Usage: status = pnext key ;
Description
boolean ret = pget ( "actl.lotid", "ge", "E" ) ; while ( ret ) { pre
Examples
ret = pget (“actl.lotid”,“ge”,“P”);
while ( ret ) {
if ( actl.location == “ETCH2” ) {
for (i=0;i<actl.lotparmcount;i++)
puts { actl.parmname[i],
“ = “,
actl.parmval[i]
} ;
}
ret = pnext ( “actl.lotid” ) ;
}
Related Links
None