From aa16ecbb7e3a3dbd9ecc5c3d5e12f7c96a41974f Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Wed, 6 Jun 2018 01:23:00 +0200 Subject: Array management --- res/test_array.tpc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 res/test_array.tpc (limited to 'res') diff --git a/res/test_array.tpc b/res/test_array.tpc new file mode 100644 index 0000000..a968c22 --- /dev/null +++ b/res/test_array.tpc @@ -0,0 +1,10 @@ +entier tab[5]; + +entier main(void) { + tab[1]=3; + tab[2]=22; + print(tab[2]+tab[1]); + print(tab[1]); + print(tab[2]); + return 0; +} -- cgit v1.2.3