aboutsummaryrefslogtreecommitdiff
path: root/examples/call.prs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/call.prs')
-rw-r--r--examples/call.prs17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/call.prs b/examples/call.prs
new file mode 100644
index 0000000..3c7d9c4
--- /dev/null
+++ b/examples/call.prs
@@ -0,0 +1,17 @@
+* function calls
+function foo
+ linkage
+ a word
+ b word
+ c word
+ d word
+ procedure using a b c returning d
+
+public function main
+ types
+ foo prototype
+ procedure
+ storage
+ myfoo foo
+ procedure
+ call foo using a b c returning d