This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
in every documentation about Galaxy Script is saw that pointers should be possible.but actually writing something like this :
struct a{ int b; int c; }; void bla(){ a* s; }
results in a syntax error :O
so my question is does Galaxy Script support Pointers ?
you have to set a value.
a* s = null; should work.
Maybe it's
Don't remember the exact syntax.
See this for more infos http://www.sc2mapster.com/api-docs/galaxy-language/structs/
@vjeux: Go
well even setting it to null causes a syntax error thats why i asked i tried nearly evertything i also copied the example script from you link but all gave Syntax error
Hmm, maybe they disabled it ... Which would be really strange. I'm going to investigate!
@ACB1: Go
yes, it doesn't work at all. in current version, we can't use struct pointer.
Quote from dahuatttt: Go@ACB1: Go yes, it doesn't work at all. in current version, we can't use struct pointer.
What he said.
in every documentation about Galaxy Script is saw that pointers should be possible.but actually writing something like this :
results in a syntax error :O
so my question is does Galaxy Script support Pointers ?
you have to set a value.
a* s = null; should work.
Maybe it's
Don't remember the exact syntax.
See this for more infos http://www.sc2mapster.com/api-docs/galaxy-language/structs/
@vjeux: Go
well even setting it to null causes a syntax error thats why i asked i tried nearly evertything i also copied the example script from you link but all gave Syntax error
Hmm, maybe they disabled it ... Which would be really strange. I'm going to investigate!
@ACB1: Go
yes, it doesn't work at all. in current version, we can't use struct pointer.
What he said.