source: CIVL/examples/languageFeatures/procNull.cvl@ d0ef687

1.23 2.0 main test-branch
Last change on this file since d0ef687 was 3a960f6, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

implemented the constant expression $proc_null

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

  • Property mode set to 100644
File size: 129 bytes
RevLine 
[c99dd2f]1#include<civlc.h>
2#include<stdio.h>
3
4void main(){
5 $proc p = $self;
[3a960f6]6
7 if(p != $proc_null){
[c99dd2f]8 printf("I'm not null.\n");
9 }
10}
Note: See TracBrowser for help on using the repository browser.