Last active
May 5, 2025 21:31
-
-
Save 5quirre1/91f31620b2c3d0037a61a1dc82b0a61f to your computer and use it in GitHub Desktop.
how to make a function in sgc++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // make a function | |
| func greg(): | |
| gPrintln("wow") // you have to indent stuff because it's basically python | |
| // python if __name__ === "__main__" greg wpw | |
| if __name__ == "__main__": | |
| greg() | |
| // reminder that sgc++ is buggy and bad | |
| // https://github.com/Freakybob-Team/SGC-PLUS-PLUS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment