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

1.23 2.0 main test-branch
Last change on this file since b144b24 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
Line 
1#include<civlc.h>
2#include<stdio.h>
3
4void main(){
5 $proc p = $self;
6
7 if(p != $proc_null){
8 printf("I'm not null.\n");
9 }
10}
Note: See TracBrowser for help on using the repository browser.