1. Fresh Set of Eyes To Help -FIXED
- Posted by Icy_Viking Aug 30, 2021
- 794 views
Hello all,
I keep getting the error expected to see '(' instead of ','. This is the code that is causing this issue.
public constant xorxShader_Init = define_c_func(orx,"+orxShader_Init",{},C_UINT) public function orxShader_Init() return c_func(xorxShader_Init,{}) --This is where the error is coming from end function
I can't figure out whay its giving a syntax error, the code is correct.
EDIT: NVM, I got it fixed by re-writing.
2. Re: Fresh Set of Eyes To Help -FIXED
- Posted by ghaberek (admin) Aug 30, 2021
- 778 views
Icy_Viking said...
return c_func(orxShader_Init,{})
For those playing along at home, this line is missing the "x" prefix on the function ID name.
-Greg
3. Re: Fresh Set of Eyes To Help -FIXED
- Posted by Icy_Viking Aug 30, 2021
- 776 views
ghaberek said...
Icy_Viking said...
return c_func(orxShader_Init,{})
For those playing along at home, this line is missing the "x" prefix on the function ID name.
-Greg
Simple typo on my part. Lol
My eye-sight isn't the best, so I can sometimes overlook simple things.