DT-Europe Posted August 21, 2008 Share Posted August 21, 2008 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? Link to comment Share on other sites More sharing options...
bradp Posted August 21, 2008 Share Posted August 21, 2008 [quote=DT-Europe] 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? [/quote] 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. Link to comment Share on other sites More sharing options...
Recommended Posts