Skip to content

static var not being reconigized #2320

Answered by RichardBray
NotTheCoderGb asked this question in Q&A
Discussion options

You must be logged in to vote

You need to put the static var inside a class. If you want to use a static variable outside of the class you need to get rid of the static keyword. Maybe the inline one as well 🤔

https://try.haxe.org/#E0156524

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Gama11
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants