Skip to content

Instantly share code, notes, and snippets.

@5quirre1
Last active May 5, 2025 21:31
Show Gist options
  • Select an option

  • Save 5quirre1/91f31620b2c3d0037a61a1dc82b0a61f to your computer and use it in GitHub Desktop.

Select an option

Save 5quirre1/91f31620b2c3d0037a61a1dc82b0a61f to your computer and use it in GitHub Desktop.
how to make a function in sgc++
// 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