1. Fresh Set of Eyes To Help -FIXED

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.

new topic     » topic index » view message » categorize

2. Re: Fresh Set of Eyes To Help -FIXED

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Fresh Set of Eyes To Help -FIXED

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu