Lenght variable names

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Lenght variable names

Post by MJU »

I've got this habit of using rather long variable names in my Flowcode projects.
Is this an issue for the program that is send to the PIC?
Will this habit use more memory space in the PIC or is the variable name converted in a smaller one with which the PIC works with?

Thanks

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Lenght variable names

Post by Benj »

Hello,

The variable name is simply a human tag that references the correct memory location for your variable or indeed for a control register. In answer to your question, having long variable names will not effect the memory size of your program and are even seen as good coding practice if they are descriptive enough.

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Re: Lenght variable names

Post by MJU »

Thank you BenJ !

Post Reply