source: CIVL/examples/modelbuilder/arrayLambda.cvl@ 3087552

1.23 2.0 main test-branch
Last change on this file since 3087552 was 2dba632, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

added test for array lambda

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

  • Property mode set to 100644
File size: 75 bytes
Line 
1$input int n;
2
3int main(){
4 int a[n];
5
6 a=(int[n]) $lambda(int i) i*2;
7}
Note: See TracBrowser for help on using the repository browser.