Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for less accurate syntax (The Application Was Unable To Start Correctly (0xc0000007b)) #5

Closed
SatoTsukasaCode opened this issue May 19, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@SatoTsukasaCode
Copy link

Tried to start a hello world code got this.

@sam-astro
Copy link
Owner

sam-astro commented May 19, 2022

What does your code look like? Also what platform are you on?

@sam-astro sam-astro added the bug Something isn't working label May 20, 2022
@SatoTsukasaCode
Copy link
Author

PLATFORM: Windows
Code:
func main() {
print "Hello World!"
}

@sam-astro
Copy link
Owner

Haha so the interpreter is very strict on syntax. That means that your code:

func main() {
	print "Hello World!"
}

Should actually be:

func main()
{
	print "Hello World!"
}

That should work! The curly brackets need to start on a new line, which will be changed in the future to also start on the same line.

@sam-astro sam-astro changed the title The Application Was Unable To Start Correctly (0xc0000007b) Allow for less accurate syntax (The Application Was Unable To Start Correctly (0xc0000007b)) May 20, 2022
@sam-astro sam-astro self-assigned this May 20, 2022
@SatoTsukasaCode
Copy link
Author

Oh! I'm don't usually using this kind of syntax... Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants