Charta Software
Back to the base
E-mail:
Wachtwoord:
Aangemaakt door op 2009-08-20 16:30:07
Laatst gewijzigd op 2010-01-22 09:32:47

While Each Construct Introduced

A new looping construct, 'while each', has been introduced to the Charta language. This allows you to iterate over a collection or sequence with an additional condition enabling an early break out of the iteration.

The keyword associated with this construct is 'while each', and this will present you with an editor similar to the for each construct:

while each <loop-variable> in <sequence or collection> and <condition> do 
  <combined statement>

The intended use is this replacing the instances where normally a manual iteration loop would need to be written enabling breaking out of the iteration before reaching the end of collection/sequence.

Berichten

Export/import cycle needed
Aangemaakt door op 2009-08-20 16:34:39
Please note that the current update in the trunk of Charta requires a cycle of exporting to and importing from XML.