Page 1 of 1

Error during compiling with $0

Posted: March 16th, 2021, 5:02 am
by wildmonkeydan
Complier Message
It also said on other compliers I tried to add '(' before $0, but nowhere have I referenced either the file name or just the string '$0'
Here's the code: Source Code
For reference the function anim() is to do with measuring a second for animation cycles.

Re: Error during compiling with $0

Posted: March 18th, 2021, 3:21 am
by Administrator
Edit the changes I have shown in the example as needed.

Image

Re: Error during compiling with $0

Posted: March 20th, 2021, 8:39 am
by wildmonkeydan
That makes sense now, I never knew you had to define the data types of the parameters, I've only ever used codeblocks which just assumes what the data type is I guess. Thanks for the help!