From 05a6ad0ebe12ad67a12583e0731f41237ccd43d0 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Fri, 5 Jan 2024 21:15:21 -0500 Subject: [PATCH] Add some code for testing of basic of language --- 01-the-very-basics/HelloWorld.m | 1 - {01-the-very-basics => basics}/ArithmeticOperations.m | 0 {01-the-very-basics => basics}/Arrays.m | 0 {01-the-very-basics => basics}/ArraysShortened.m | 0 basics/HelloWorld.m | 1 + {01-the-very-basics => basics}/HelloWorldInAnotherLoop.m | 0 {01-the-very-basics => basics}/HelloWorldInLoop.m | 0 {01-the-very-basics => basics}/HelloWorldInNestedLoop.m | 0 8 files changed, 1 insertion(+), 1 deletion(-) delete mode 100755 01-the-very-basics/HelloWorld.m rename {01-the-very-basics => basics}/ArithmeticOperations.m (100%) mode change 100755 => 100644 rename {01-the-very-basics => basics}/Arrays.m (100%) mode change 100755 => 100644 rename {01-the-very-basics => basics}/ArraysShortened.m (100%) create mode 100644 basics/HelloWorld.m rename {01-the-very-basics => basics}/HelloWorldInAnotherLoop.m (100%) mode change 100755 => 100644 rename {01-the-very-basics => basics}/HelloWorldInLoop.m (100%) mode change 100755 => 100644 rename {01-the-very-basics => basics}/HelloWorldInNestedLoop.m (100%) mode change 100755 => 100644 diff --git a/01-the-very-basics/HelloWorld.m b/01-the-very-basics/HelloWorld.m deleted file mode 100755 index 7bcd813..0000000 --- a/01-the-very-basics/HelloWorld.m +++ /dev/null @@ -1 +0,0 @@ - write "Hello world",! \ No newline at end of file diff --git a/01-the-very-basics/ArithmeticOperations.m b/basics/ArithmeticOperations.m old mode 100755 new mode 100644 similarity index 100% rename from 01-the-very-basics/ArithmeticOperations.m rename to basics/ArithmeticOperations.m diff --git a/01-the-very-basics/Arrays.m b/basics/Arrays.m old mode 100755 new mode 100644 similarity index 100% rename from 01-the-very-basics/Arrays.m rename to basics/Arrays.m diff --git a/01-the-very-basics/ArraysShortened.m b/basics/ArraysShortened.m similarity index 100% rename from 01-the-very-basics/ArraysShortened.m rename to basics/ArraysShortened.m diff --git a/basics/HelloWorld.m b/basics/HelloWorld.m new file mode 100644 index 0000000..f389b47 --- /dev/null +++ b/basics/HelloWorld.m @@ -0,0 +1 @@ + w !,"Hello World" diff --git a/01-the-very-basics/HelloWorldInAnotherLoop.m b/basics/HelloWorldInAnotherLoop.m old mode 100755 new mode 100644 similarity index 100% rename from 01-the-very-basics/HelloWorldInAnotherLoop.m rename to basics/HelloWorldInAnotherLoop.m diff --git a/01-the-very-basics/HelloWorldInLoop.m b/basics/HelloWorldInLoop.m old mode 100755 new mode 100644 similarity index 100% rename from 01-the-very-basics/HelloWorldInLoop.m rename to basics/HelloWorldInLoop.m diff --git a/01-the-very-basics/HelloWorldInNestedLoop.m b/basics/HelloWorldInNestedLoop.m old mode 100755 new mode 100644 similarity index 100% rename from 01-the-very-basics/HelloWorldInNestedLoop.m rename to basics/HelloWorldInNestedLoop.m