Delphi 9 new grammar for loop

xiaoxiao2021-03-06  165

According to the Borland Chief Scientist Danny Thorpe, the For In loop has been added.

This way we can write

Type Trole = (Worker, Manager, Executioner, CEO); tjobroles = set of trole; process jobroles: tjobroles); var r: trone; begin for r in jobroles do // use r here;

Nice convenience

转载请注明原文地址:https://www.9cbs.com/read-128439.html

New Post(0)