Why can't we use 'stop-after' with a variable, i

Posted by spryan on 12-Oct-2011 07:12

Is this a bug or am I missing something? I can specify the timeout  using a variable inside a .p. But I can't do the same thing withing a method?

ex:

method public void testStopAfter():.

     define variable iTimeout as integer no-undo.

     iTimeout = 50.

     do stop-after iTimeout:

     end.

end method.

All Replies

Posted by Evan Bleicher on 12-Oct-2011 12:59

This is a bug in the compiler.  Please log an issue with Technical Support.

Thanks

Posted by spryan on 14-Oct-2011 04:07

Thanks.

Posted by Evan Bleicher on 18-Oct-2011 12:31

This defect has been resolved in 11.0 development stream.

This thread is closed