ContentsIndexHome
PreviousUpNext
IProcedure::run Method (IData*, IData*, IData*, IData*, IData*, IData*, IData*, IData*, int)

Runs the procedure with the provided arguments; this methods blocks further execution until the AIMMS procedure has returned or the timeout expires. In the latter case an CommunicationException is raised. 

 

C++
virtual int run(IData* arg1 = 0, 
                        IData* arg2 = 0, 
                        IData* arg3 = 0, 
                        IData* arg4 = 0, 
                        IData* arg5 = 0, 
                        IData* arg6 = 0, 
                        IData* arg7 = 0, 
                        IData* arg8 = 0, 
                        int timeout = -1) = 0;
Parameters 
Description 
IData* arg1 = 0 
The 1st argument to run the procedure with.  
IData* arg2 = 0 
The 2nd argument to run the procedure with.  
IData* arg3 = 0 
The 3rd argument to run the procedure with.  
IData* arg4 = 0 
The 4th argument to run the procedure with.  
IData* arg5 = 0 
The 5th argument to run the procedure with.  
IData* arg6 = 0 
The 6th argument to run the procedure with.  
IData* arg7 = 0 
The 7th argument to run the procedure with.  
IData* arg8 = 0 
The 8th argument to run the procedure with.  
int timeout = -1 
The amount of time in milliseconds to wait for the procedure to finish. A value of -1 is equivalent to infinite.  

The return value of the AIMMS procedure.