Skip to main content
procedure()

IRIS.procedure() calls an ObjectScript procedure or function, passing zero or more arguments and returning nothing (also see IRIS.function()). See “Calling Functions and Procedures from Python” for details and examples.

  procedure (procedureName, routineName, args) 

parameters:

  • procedureName — name of the procedure to call.

  • routine_name — name of the routine containing the procedure.

  • *args — zero or more method arguments. Arguments of types bool, bytes, Decimal, float, int, str and IRISList are projected as literals. All other types are projected as proxy objects.

This method assumes that there will be no return value, but can be used to call any function. If you use procedure() to call a function that returns a value, the function will be executed but the return value will be ignored.


FeedbackOpens in a new tab