![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just caused a foulup in D3 using the LOCATE( function. I'm used to UniData & I thought that if ... POS=0 LOCATE(X,Y,1;POS) would leave POS as zero if the locate of X in Y<1> failed. But no D3 & Universe set the POS to the next available mv position. Have I lost it? I dont have a Unidata machine to confirm my shaky recollections. Jeremy Thomson |
#3
| |||
| |||
|
|
On D3, POS is set the where the item is, or where it should be if it's not there. Locate with 'AR', 'AL' etc will position POS where the item would be inserted if it doesn't exist. Without the sorting options, POS would be set to 1+item count. Use the THEN/ELSE to determine if it passed or failed. panzerboy (AT) gmail (DOT) com> wrote in message news:1144122769.240205.293550 (AT) u72g2000cwu (DOT) googlegroups.com... I just caused a foulup in D3 using the LOCATE( function. I'm used to UniData & I thought that if ... POS=0 LOCATE(X,Y,1;POS) would leave POS as zero if the locate of X in Y<1> failed. But no D3 & Universe set the POS to the next available mv position. Have I lost it? I dont have a Unidata machine to confirm my shaky recollections. Jeremy Thomson |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I just caused a foulup in D3 using the LOCATE( function. I'm used to UniData & I thought that if ... POS=0 LOCATE(X,Y,1;POS) would leave POS as zero if the locate of X in Y<1> failed. But no D3 & Universe set the POS to the next available mv position. Have I lost it? I dont have a Unidata machine to confirm my shaky recollections. Jeremy Thomson |
![]() |
| Thread Tools | |
| Display Modes | |
| |