From 7a3b24a310e5cb09d8d9c84bf019ce0bbb142977 Mon Sep 17 00:00:00 2001 From: Maxwell Date: Sat, 11 Jan 2025 15:05:55 +1100 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b85c25f..2f46c87 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ Some built in functions include: `run`: Run a command on the system. May not work on every OS. Usage: `run (string)` -`exit`: Exit the program. Usage: `exit (integer)` +`in`: Take input from the console. For now, this doesn't do much, but this will change soon. Usage: `in (optional: string)` Example: `in "What's your name? "` + +`exit`: Exit the program. Usage: `exit (optional: integer)` Okto is strongly typed, which means we need to learn about all the different types in the language! At present there are three types in Okto: strings, integers and decimals. Defining variables uses a C/C++ like syntax.