diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-02-16 14:32:56 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-02-16 14:32:56 -0800 |
| commit | 05540fc6038f452f5dc5f18412c918c33ad96027 (patch) | |
| tree | bb9f572a1cc6f3a66cbf9835593f62db87481e0a /examples | |
| parent | 10a1f7e4ad1bc90436f58269a52cddfd0587be33 (diff) | |
changed project structure
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/boolean.pcdt | 18 | ||||
| -rw-r--r-- | examples/example.pcdt | 2 | ||||
| -rw-r--r-- | examples/helloworld.pcdt | 3 | ||||
| -rw-r--r-- | examples/includetest.pcdt | 2 |
4 files changed, 25 insertions, 0 deletions
diff --git a/examples/boolean.pcdt b/examples/boolean.pcdt new file mode 100644 index 0000000..e6becd6 --- /dev/null +++ b/examples/boolean.pcdt @@ -0,0 +1,18 @@ +store(14; var1;) +store(12; var2;) + +store( +eq(var1() var2()) +res;) + +print(var1()) + +if(res() +print(equals;) +) + +if(not(res()) +print(does not equal;) +) + +print(var2()) diff --git a/examples/example.pcdt b/examples/example.pcdt new file mode 100644 index 0000000..68d0a84 --- /dev/null +++ b/examples/example.pcdt @@ -0,0 +1,2 @@ +store(hello;myVar;) +print(myVar()) diff --git a/examples/helloworld.pcdt b/examples/helloworld.pcdt new file mode 100644 index 0000000..6ad1398 --- /dev/null +++ b/examples/helloworld.pcdt @@ -0,0 +1,3 @@ +store(print(hello world;) HelloWorldFunc;) +HelloWorldFunc() +HelloWorldFunc() diff --git a/examples/includetest.pcdt b/examples/includetest.pcdt new file mode 100644 index 0000000..81aa285 --- /dev/null +++ b/examples/includetest.pcdt @@ -0,0 +1,2 @@ +@helloworld.pcdt +HelloWorldFunc() |
