source: CIVL/examples/compare.cvl@ cffd3a6

1.23 2.0 main test-branch
Last change on this file since cffd3a6 was 40a899c, checked in by Tim Zirkel <zirkeltk@…>, 13 years ago

Fixed pass by reference for pointers. Fixed bug (?) caused by arriving at a wait before a process had spawned. Maybe this should be logged as an error? Fixed several other exceptions. Updated pointers example. Added compare example to illustrate defect with comparing real and int.

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

  • Property mode set to 100644
File size: 109 bytes
Line 
1#include<civlc.h>
2
3void main() {
4 $assert 1 > 0.0;
5 $assert 1 > 0;
6 $assert 5 <= 5.1;
7 $assert 5 <= 5;
8}
Note: See TracBrowser for help on using the repository browser.