I'm using GCBASIC 0.99.01 2022-01-27 (Windows 64 bit) : Build 1073 with the 18F4550 chip.
I'm trying to use this : byte_variable = atan (x_vector,y_vector)
When I try to compile it I get "Error: Invalid variable name"
I've changed "byte_variable" to other names but still get the same error.
Why is this?
I found the problem. To use this, this must be added #include <maths.h> </maths.h>
The help file does not state this. You may want to add this to the help file.
I have updated the Help to show the need for #include <maths.h></maths.h>
Log in to post a comment.
I'm using GCBASIC 0.99.01 2022-01-27 (Windows 64 bit) : Build 1073 with the 18F4550 chip.
I'm trying to use this : byte_variable = atan (x_vector,y_vector)
When I try to compile it I get "Error: Invalid variable name"
I've changed "byte_variable" to other names but still get the same error.
Why is this?
I found the problem. To use this, this must be added #include <maths.h> </maths.h>
The help file does not state this. You may want to add this to the help file.
I have updated the Help to show the need for #include <maths.h></maths.h>