Overview | Statement List | Example


循环NEXT对象

Synopsis

obj = NEXTE/IFEND,label:

Description

This command is an object valued function which may be used to address the next selectable object in the database. The NEXTE/ command uses the 'current' object to find the 'next' object. If you delete the current object the NEXTE/ command is not able to find the next object. Do not use GRIP commands that remove or alter objects when cycling the database (e.g. DELETE/ and UNGRP/). Otherwise, an error message occurs. The objects should be saved into an array and then the delete function should then be performed. See the example.

Parameters

Parameter

Description

IFEND

Minor word that indicates that the next parameter is a statement label, which the program branches to after the last selectable object in the database has been accessed.

label:

The statement label to which the program branches after the last selectable object in the database has been accessed.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.