Skip to content

Using GoCode

Eli D edited this page Jul 1, 2023 · 21 revisions

GoCode Requires GoOS HDD support to be enabled.

What is GoCode

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!

How to set up your first GoCode program.

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.

Clone this wiki locally