While statements are a form of conditional processing. Use them to specify an action to take while a certain condition is met. While statements use the same syntax as while statements in C and are processed as loops.
while (not(isnull(record))) { record.b := record.a + record.b; record := getNext(record_iterator); }