CAlive will introduce the do if (...) { } block. It will allow a test to be added to the initial entry of the block, which is performed one time and only on the initial entry.
Traditional code:
if (x == 2)
{
do {
// Code here
} while (lKeepProcessing);
}
With the
do if (...) { } block:
do if (x == 2)
{
// Code here
} while (lKeepProcessing);
It is shorter, more concise, less indented, clearer, encapsulating, and a nice step forward for the language philosophy when such a need exists.
--
Rick C. Hodgin