الرئيسية > dev > api > cat > special > _next 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr fa id vi ko ja ru zh zh_TW eo
السابق  التالي  تحرير  إعادة تسمية  تراجع  بحث  الإدارة  
المستندات  
تحذير! هذه الصفحة لم يتم ترجمتها.  See english version 
_next
GB_METHOD ( "_next" , Return Type , MyClass_next , NULL )
_
GB_STATIC_METHOD ( "_next" , Return Type , MyClass_next , NULL )

The _next method is called when the جامباس program use the FOR EACH ... IN instruction to enumerate the object.

The method takes no parameters, and may return an enumerated data.

The method can be static. Then, the class will be enumerable, not the object.

This method can return nothing. Then, you will enumerate the object with a FOR EACH instruction, without the IN part.

Inside the _next method implementation, you will use some specific جامباس Programming Interface functions. See Enumeration Management for more information.

إنظر أيضا

Special Methods, Methods Implementation, Enumeration Management