Re: [U2] [UD] "No More Entries in MI Table in LCT-3

2005-11-25 Thread Ben Gladman
I've had this message when building an index on a very badly sized file (eg 
modulo=1)

-Ben



"Kevin King" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I'm getting the above message when trying to use BUILD.INDEX to
> rebuild a single index on this file.  I've deleted the index field and
> started over, and still no love.  Any ideas?
>
> -Kevin
> [EMAIL PROTECTED]
> http://www.PrecisOnline.com
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: [UD] problem with hex conversions

2004-11-24 Thread Ben Gladman
Also just found out [[thanks Adam]] that if you put any other character at
the end of the conversion code, it works ok:


PROGRAM BJGTEST
*
CRT "OCONV('1','MX*')=" : OCONV('1','MX*')
CRT "ICONV('F','MX*')=" : ICONV('F','MX*')
*
STOP


produces:

OCONV('1','MX*')=01
ICONV('F','MX*')=15





"Simon Lewington" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


Switch to $BASICTYPE 'U' to stop this supposed Pick-Style behaviour.

Simon
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UD] problem with hex conversions

2004-11-24 Thread Ben Gladman
I'm getting unexpected results from the hex conversions in Unidata 6.0.12 on
NT:

PROGRAM BJGTEST
*
CRT "OCONV('1','MO')=" : OCONV('1','MO')
CRT "OCONV('1','MO0C')=" : OCONV('1','MO0C')
CRT "OCONV('1','MX0C')=" : OCONV('1','MX0C')
CRT "OCONV('1','MX')=" : OCONV('1','MX')
CRT "ICONV('F','MX')=" : ICONV('F','MX')
*
STOP


the results I get are:

OCONV('1','MO')=001
OCONV('1','MO0C')=061
OCONV('1','MX0C')=31
OCONV('1','MX')=31
ICONV('F','MX')=

The octal conversions and the hex-ascii conversion seem okay. But I would
expect the fourth line to read '1' or '01', and the fifth line to read '15'?
Is this a problem anyone else gets?

Cheers,
-Ben
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] SPACE character ignored

2004-05-13 Thread Ben Gladman
> Compiling Unibasic: BP\TEST.STRING in mode 'u'.
> compilation finished
> 0   0
> :


Hi,

I've now found out there's a UDT.OPTIONS which controls this; we're setting
it at login.


10  U_TRIMNBR ON


Ben
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Re: [U2] SPACE character ignored

2004-05-13 Thread Ben Gladman
"Leroy Dreyfuss" wrote:

> UniData shows both conditions to be false, as does D3.



not on my version of unidata (6.0):


SUBROUTINE BJGTEST
*
T1 = ('1' EQ '1 ')
CRT 'Test 1: ':T1
*
T2 = (' 1' EQ '1 ')
CRT 'Test 2: ':T2
*
T3 = ('1 ' EQ '1   ')
CRT 'Test 3: ':T3
*
C=('1':SPACE(16))
T4 = ('1' EQ C)
CRT 'Test 4: ':T4
*
C=('1':SPACE(17))
T5 = ('1' EQ C)
CRT 'Test 5: ':T5
*
RETURN



output:

:BJGTEST

Test 1: 1
Test 2: 1
Test 3: 1
Test 4: 1
Test 5: 0


!
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users