From 13c44054b21d26782e98a52e9a114250ab8307ff Mon Sep 17 00:00:00 2001 From: AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> Date: Thu, 9 Dec 2021 02:30:57 +0000 Subject: Added example program of each main feature --- src/examples/array.ft | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/examples/array.ft (limited to 'src/examples/array.ft') diff --git a/src/examples/array.ft b/src/examples/array.ft new file mode 100644 index 0000000..6f62940 --- /dev/null +++ b/src/examples/array.ft @@ -0,0 +1,13 @@ +program array +int dimension(10)::a +int::i + +do i=0,9 +a(i)=i*2 +end do + +do i=0,9 +print*,a(i) +end do + +end program array \ No newline at end of file -- cgit v1.2.3