![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I don't know if I have stumbled on a bug, or just don't understand how this is supposed to work. We are running D3 7.3 Linux. I have this small program: * VM = CHAR(253) * A = 4:VM:8:VM:27:VM:-33:VM:12:VM:56:VM:14:VM:87:VM:0:VM:45 B = SORT(A,1;'DR') FOR X = 1 TO 10 PRINT B<1,X NEXT X * STOP When ran, this is the output: :RUN BP.THR CHECK.DR 0 87 56 45 27 14 12 8 4 -33 Since I am doing a descending right sort, why is the 0 at the top of the list? Is this a bug, or by design? |
#3
| |||
| |||
|
|
I don't know if I have stumbled on a bug, or just don't understand how this is supposed to work. We are running D3 7.3 Linux. I have this small program: * VM = CHAR(253) * A = 4:VM:8:VM:27:VM:-33:VM:12:VM:56:VM:14:VM:87:VM:0:VM:45 B = SORT(A,1;'DR') FOR X = 1 TO 10 PRINT B<1,X NEXT X * STOP When ran, this is the output: :RUN BP.THR CHECK.DR 0 87 56 45 27 14 12 8 4 -33 Since I am doing a descending right sort, why is the 0 at the top of the list? Is this a bug, or by design? |
#4
| |||
| |||
|
|
I don't know if I have stumbled on a bug, or just don't understand how this is supposed to work. We are running D3 7.3 Linux. I have this small program: * VM = CHAR(253) * A = 4:VM:8:VM:27:VM:-33:VM:12:VM:56:VM:14:VM:87:VM:0:VM:45 B = SORT(A,1;'DR') FOR X = 1 TO 10 PRINT B<1,X NEXT X * STOP When ran, this is the output: :RUN BP.THR CHECK.DR 0 87 56 45 27 14 12 8 4 -33 Since I am doing a descending right sort, why is the 0 at the top of the list? Is this a bug, or by design? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Good news! At the time I posted this, I also posted it on the Raining Data support forum. Raining Data has confirmed that it is a bug and has opened an action item for it. They will also be adding AN and DN codes for sorting numeric values. |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I don't know if I have stumbled on a bug, or just don't understand how this is supposed to work. We are running D3 7.3 Linux. I have this small program: * VM = CHAR(253) * A = 4:VM:8:VM:27:VM:-33:VM:12:VM:56:VM:14:VM:87:VM:0:VM:45 B = SORT(A,1;'DR') FOR X = 1 TO 10 PRINT B<1,X NEXT X * STOP When ran, this is the output: :RUN BP.THR CHECK.DR 0 87 56 45 27 14 12 8 4 -33 Since I am doing a descending right sort, why is the 0 at the top of the list? Is this a bug, or by design? |
![]() |
| Thread Tools | |
| Display Modes | |
| |