News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Length of variable in procedures

Started by RGV250, May 24, 2021, 07:34 PM

Previous topic - Next topic

RGV250

Hi Les,
I had a bit of an issue and wondered if it is by design or a quirk. I am converting the display example and it has several single character variables.
If I create them inside the procedure I get X not found even though it is there, if I declare them outside the procedure it compiles OK. I altered the name of the variable and it then compiles with them inside the procedure so I wondered if there is a minimum for variables inside the procedure.

Regards,
Bob

RGV250

Cancel that, I have just read it in the manual.