Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA View struct member order

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
eve Posted - Jun 15 2007 : 05:45:07 AM
Hi,

I noticed that in the VA View the members of a struct are sorted alphabetically. It seems to me that it is more logical to keep the order as in the struct definition because then the VA View can be used to decipher struct initialisation constructions.

For example:

struct Test {
int z;
int a;
};

Test t = { 1, 2 };


If you now hover over 'Test' then VA View will confusingly show something like this:

Test
\\- a
\\- z

From which you might conclude that a will become 1 and z will become 2, where it is actually the opposite.

NOTE: this is a fictitious example, I get this behaviour on a real code, but this test code does not work at all. I will make another post about that: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6394

regards,
eli
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 15 2007 : 2:58:47 PM
We are considering adding an option to control the order of items in the HCB

case=626

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000