source: CIVL/examples/for.cvl@ 9179b4f

1.23 2.0 main test-branch
Last change on this file since 9179b4f was 8bd0ed8, checked in by Tim Zirkel <zirkeltk@…>, 13 years ago

Fixed handling of blank or expression initializers for for loops. Added for example. Log error when reading a variable with a null value.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@83 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 88 bytes
Line 
1void main() {
2 int i;
3 int j = 0;
4
5 for (i=0; i<10; i++) ;
6 for (; j<10; j++) ;
7}
Note: See TracBrowser for help on using the repository browser.