Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Enum Evaluation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

graham.reeds
Ketchup Master

United Kingdom
51 Posts

Posted - May 22 2007 :  09:23:27 AM  Show Profile  Reply with Quote
It seems fairly sporadic, but there are a few behaviorial problems with the enum evaluations (VAX 1555).

On a long enum list (of over 200) the enum calculation only shows the value if a set item is visible on screen. The exception is if you are looking at the list and check on the value line by line. Skip a few lines and the enum evaluator loses its place.
enum LotsOfThings {
lot_zero = 0, // the first visible set item
lot_one = 1, // the second (shows 0 + 1)
... // lots more which goes off screen
lot_oneninenine, // the 200th
lot_twozerozero, // the 201st.
};


Sorry it isn't more specific, but I can't really create a simple test for it - just what I am seeing with my source.

Thanks, Graham

Edited by - graham.reeds on May 22 2007 09:24:22 AM

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 24 2007 :  1:57:05 PM  Show Profile  Reply with Quote
Are you seeing this with the tooltip or the information in the VA definition field?

In your example you have assigned the value to the first two items, but not to the last two items. How far down the enum is the value assigned?

I have tried a couple of tests here, with a pair of 200 item enums. One has only the first value assigned, and one has all values assigned, and I am not seeing any problems with either of them.

This is with VS2005 and VA 1555

zen is the art of being at one with the two'ness
Go to Top of Page

graham.reeds
Ketchup Master

United Kingdom
51 Posts

Posted - May 25 2007 :  04:36:48 AM  Show Profile  Reply with Quote
This is with 250 items in one list and another with nearly 300. I am seeing this with the Tool Tip.

The only items that have codes are the first two (0 and 1). One of the lists has the very last value set to 0x7FFFFFFF (and a warning message that it must always be the last one:-)

Maybe it is an artefact of using VS6?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 26 2007 :  2:01:34 PM  Show Profile  Reply with Quote
I think I am seeing the same effect in VC6. For me the Definition field still works, and shows the correct value. Is this working for you? If so this offers a work around for now.

case=6798

zen is the art of being at one with the two'ness
Go to Top of Page

graham.reeds
Ketchup Master

United Kingdom
51 Posts

Posted - May 29 2007 :  03:42:05 AM  Show Profile  Reply with Quote
Okay. I can confirm that it works in the VA View (which I guess I should use more often) but in the source it doesn't show the value.

Thanks, Graham Reeds.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000