News:

  • July 25, 2026, 04:05:38 AM

Login with username, password and session length

Author Topic: Cast Aggregation  (Read 5653 times)

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Cast Aggregation
« on: October 30, 2020, 08:30:44 PM »
I'm trying to aggregate two Unsigned Words (say V10 and V11). I type V10:R into the Data Window and press Enter. The Data Window changes this to V10:RD. Why the RD instead of R? From the help menu I would expect this to be R. Am I missing something? The aggregation works as expected, I'm just confused as to why it automatically changes to RD.
« Last Edit: October 30, 2020, 08:34:37 PM by RBPLC »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6168
  • Yes Pinky, Do-more will control the world!
Re: Cast Aggregation
« Reply #1 on: October 30, 2020, 09:56:02 PM »
B, W, and D are sizes. R, S, and U are formats. When you specify R for a bit, byte, or word it implies a size change, which gets shown. If you used R on a double type (like D data type), the size doesn't change and we don't show the size modifier.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO