ID:2956470
 
Resolved
A new pragma directive, #pragma syntax C, allows you to specify C-like syntax for switch() or for for() loops. In switch(), this means you now have a case statement and fall-through behavior, with the break keyword ending a switch case. In for loops this means you can use the semicolon as a separator in place of a comma, so multiple statements can be chained together. These changes can be done individually or both together, and also respond to the pragma push/pop directives.
Applies to:DM Language
Status: Resolved (516.1648)

This issue has been resolved.
Handling switch() and for() like C would be nice.
Lummox JR resolved issue with message:
A new pragma directive, #pragma syntax C, allows you to specify C-like syntax for switch() or for for() loops. In switch(), this means you now have a case statement and fall-through behavior, with the break keyword ending a switch case. In for loops this means you can use the semicolon as a separator in place of a comma, so multiple statements can be chained together. These changes can be done individually or both together, and also respond to the pragma push/pop directives.

Login to reply.