ContentsIndexHome
PreviousUpNext
Procedure with arguments

The procedure example shows you how to run an AIMMS procedure that requires one or more arguments.

This example demonstrates the use of a procedure with arguments. 

Procedure arguments can be supplied in two ways

  • Locals can be retrieved using getArgument(index). This yields an IData object which can be cast to the actual class and can be used to read/write data directly into those locals.
  • Global data can be used.
Name 
Description 
The Procedure with arguments example in C++. 
The Procedure with arguments example in Java. 
The Procedure with arguments example in C#.