Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Define and assign a variable on the same time
#2
DT-Europe Wrote:How can we define and assign a variable on the same time.
If we do something like:

Global MyVar 0;

it does not work (download error).

In General, in the IDE project, where can we affect initial values to variables?

With the current firmware of July 23rd and our test firmware of August 14th this is not possible. So you can only assign the value after making the declaration.

Global MyVar;
MyVar=0;

In the next firmware this feature will be included. I do not know what date it will have but it will be later than August 22nd 2008. The feature is coming.
Reply


Messages In This Thread
RE: Define and assign a variable on the same time - bradp - 08-21-2008, 02:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)