I’m tryin to code an infinite loop to my flywheel but I keep on having an error that says Function Definition is not allowed here.
this is my code:
I have never seen this error before so can someone help me.
I’m tryin to code an infinite loop to my flywheel but I keep on having an error that says Function Definition is not allowed here.
this is my code:
looks like main may be inside another function.
you cannot nest functions.
so what should it look like
Never Mind, the issue was in earlier in the code