-
Notifications
You must be signed in to change notification settings - Fork 3
Using GoCode
GoCode Requires GoOS HDD support to be enabled.
Note: As of now, if statements are limited.
The only way to get the full functionality that you get from other languages is to combine it with goto
.
GoCode is a simple coding language used for GoOS in order for users to make apps and maybe even games!
The Source code is entirely open and is located in run.cs
Feel free to contribute!
To start, make a file that ends in .goexe or .gexe. Then open it in notepad.
Next, you are going to want to register your programs name with GoOS so you can save variables for later, like so:
regprog=program name here
(but replace "program name here" with your program name. Make sure it's unique.)
Note: You don't technically have to do this, but its recommended if you want to save variables.
Finally, you can type this:
print="Hello World!"
To print "Hello World!" to the console.
Then you can test it by running it with run filename-here
in the directory its in.