plus equals

Posted by ojfoggin on 01-Jun-2009 03:48

Hi,

Is there a shortcut for doing...

assign int-i = int-i + 1.

?

Something like...

assign int-i += 1.

Just something I picked up from my Java days that seems a lot quicker and easier.  Especially if you have to get an entry of a list and change it to an int and then add one to it.

Thanks!

All Replies

Posted by Admin on 01-Jun-2009 05:02

No - unless you create an include file or some other preprocessor thing.

Posted by ChUIMonster on 01-Jun-2009 07:52

I have often wished that the 4GL supported this operator.  It would simplify a lot of code.

This thread is closed