الرئيسية > lang > sub 
 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 
SUB
This keyword is used for introducing a procedure declaration.

It is a synonymous for PROCEDURE.

[ STATIC ] { PUBLIC | PRIVATE } { PROCEDURE | SUB }
  Identifier
  (
    [ Parameter AS Datatype [ , ... ] ] [ , ]
    [ OPTIONAL Optional Parameter AS Datatype [ , ... ] ] [ , ] [ ... ]
  )
  ...
END

This declares a procedure, i.e. a منهج that returns nothing. To return a value, use FUNCTION

The END keyword indicates the end of the procedure.

إنظر أيضا

Method Declaration