monic part 6: the mC programming language and compiler
|
06-21-2022, 11:31 PM
Post: #9
|
|||
|
|||
RE: monic part 6: the mC programming language and compiler
I've completed all of the control statements. In addition to the if, while, do, and for statements there are now conditional operators:
and switch statements: as well as continue and break statements. And of course no programming language would be complete without a goto statement : All of the control statements behave like their C counterparts, except for switch which has an implied break at the end of a list of statements, e.g. the following are equivalent: The C language combines all the power of assembly language with all the ease-of-use of assembly language |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)