Author |
Topic |
|
ULeas
New Member
Ukraine
7 Posts |
Posted - May 03 2006 : 06:53:36 AM
|
in the following code
CString res(SourceTables);
the res variable is colored as a method. |
There are 10 categories of people: those who understand binary numbers, and those who don't... |
|
support
Whole Tomato Software
5566 Posts |
Posted - May 03 2006 : 3:56:47 PM
|
What build of VA X?
What IDE?
What programming language? |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - May 04 2006 : 12:05:16 AM
|
I always thought this was "by design," since without thorough parsing, you can't tell whether this is a variable declaration with initialization or a function declaration.
If you are within the scope of a method, once you type the semicolon, it is obvious that this is a variable declaration/initialization, but until that point, and whenever you are outside the scope of a method, this could be either.
Wonder what the standard has to say about this....
(Note that my reference point is C++)
|
Joe Pizzi |
|
|
ULeas
New Member
Ukraine
7 Posts |
Posted - May 04 2006 : 05:03:12 AM
|
VA_X.dll file version 10.2.1445.0 built 2006.04.12 VAOpsWin.dll version 1.3.2.4 VATE.dll version 1.0.4.15 DevEnv.exe version 7.10.3077.0 msenv.dll version 7.10.3077.0 Font: Courier New 13(Pixels) Comctl32.dll version 5.82.2900.2180 WindowsNT 5.1 Build 2600 Service Pack 2 Single processor
Platform: Win32 Stable Includes: C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
Library Includes: C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl; C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;
this code is a c++ code, withing a scope of a method. |
There are 10 categories of people: those who understand binary numbers, and those who don't... |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - May 04 2006 : 4:33:19 PM
|
this has been improved in the 15xx version of VA, which is currently being readied for beta testing. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|