Dear developers,

It seems that "wait" command is not working when calling "contractVal" in the script. I am not sure if this is a bug or not.

I got this results by using the following script (the elapsed time should be about 4 seconds, but here is only about 0):
==================
z_PayOff compiling.................... ok

Start
Time Elapsed: 0.002 seconds

Finish
==================


Here is the test script generated based on the "PayOff.c" script in Strategy folder:
==================
#include <contract.c>

void main()
{
printf("\nStart");
CONTRACT C;
contractVal(&C,C.fUnl,0.15,0.01,0.01);
var Time = timer();
wait(4000);
printf("\nTime Elapsed: %.3f seconds",(timer()-Time)/1000);
quit("\nFinish");
}
==================