Re: [U2] Odd error message

2011-07-22 Thread Colin Alfke
In UD ($basictype 'p') - you get this message when you try to access the
zero element in an array. Eg:
DIM X(1)
X(0) = 'Hello world'

Usually, a variable isn't getting set...

With $basictype 'u' it puts the excess in (0) and this syntax works. In
$basictype 'p' it puts the data in the last element and the syntax results
in the error.

Hth
Colin Alfke
Calgary, Canada

-Original Message-
From: Wols Lists

On 22/07/11 16:56, John Thompson wrote:
> Never seen that one...
> 
> My initial thought is:
> 
> Is there a program that has a dimensioned array, where the data that the
> program is trying to read in is larger than the array that was declared in
> the BASIC program?

The which situation is explicitly handled by (depending on flavour)
dumping the excess elements into either element 0, or the last element.

Actually, my reaction was very much along those lines. I don't know UD,
but could it be that an array was declared in a function compiled in
Pick mode, then that array was read into in Prime mode?

Unlikely, but it's possible ...

Cheers,
Wol
> 
> On Fri, Jul 22, 2011 at 11:52 AM, Glorfield, Gordon <
> 
>> Had a user get a message I've not seen before.  Message was: Index: 0 to
>> one dimension is out of range.  The system kicked the user to TCL after
this
>> message.  We are running UniData 7.2.4 on HP UX.
>>
>> I went into the system but was unable to duplicate the error.  Has anyone
>> seen this message before and what causes it?
>>
>> Thanks,
>> Gordon

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Odd error message

2011-07-22 Thread Wols Lists
On 22/07/11 16:56, John Thompson wrote:
> Never seen that one...
> 
> My initial thought is:
> 
> Is there a program that has a dimensioned array, where the data that the
> program is trying to read in is larger than the array that was declared in
> the BASIC program?

The which situation is explicitly handled by (depending on flavour)
dumping the excess elements into either element 0, or the last element.

Actually, my reaction was very much along those lines. I don't know UD,
but could it be that an array was declared in a function compiled in
Pick mode, then that array was read into in Prime mode?

Unlikely, but it's possible ...

Cheers,
Wol
> 
> On Fri, Jul 22, 2011 at 11:52 AM, Glorfield, Gordon <
> gglorfi...@vertisinc.com> wrote:
> 
>> Had a user get a message I've not seen before.  Message was: Index: 0 to
>> one dimension is out of range.  The system kicked the user to TCL after this
>> message.  We are running UniData 7.2.4 on HP UX.
>>
>> I went into the system but was unable to duplicate the error.  Has anyone
>> seen this message before and what causes it?
>>
>> Thanks,
>> Gordon
>>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Odd error message

2011-07-22 Thread John Thompson
You could have a record out there larger than other records that that
program normally reads in.

Just a shot in the dark...

On Fri, Jul 22, 2011 at 11:56 AM, John Thompson wrote:

> Never seen that one...
>
> My initial thought is:
>
> Is there a program that has a dimensioned array, where the data that the
> program is trying to read in is larger than the array that was declared in
> the BASIC program?
>
>
> On Fri, Jul 22, 2011 at 11:52 AM, Glorfield, Gordon <
> gglorfi...@vertisinc.com> wrote:
>
>> Had a user get a message I've not seen before.  Message was: Index: 0 to
>> one dimension is out of range.  The system kicked the user to TCL after this
>> message.  We are running UniData 7.2.4 on HP UX.
>>
>> I went into the system but was unable to duplicate the error.  Has anyone
>> seen this message before and what causes it?
>>
>> Thanks,
>> Gordon
>>
>> Gordon J Glorfield | Software Application Developer | Vertis
>> Communications
>> 250 W. Pratt Street, Suite 1800 | Baltimore, MD, 21201
>> T 410-361-8664 | M 443-280-7093
>> gglorfi...@vertisinc.com | http://www.vertisinc.com
>>
>> Vertis Communications is a results-driven marketing communications company
>> that delivers inventive advertising, direct marketing and interactive
>> solutions to prominent brands across North America. Our deep industry
>> knowledge and extensive range of offerings-including integrated data
>> solutions, digital program management systems, creative services,
>> world-class print and mail production, logistics, out-of-home and business
>> process outsourcing-are used to deliver superior program performance that
>> drives bottom line results for our clients. With 100 strategically
>> positioned locations and more than 5,000 dedicated professionals, we deliver
>> impeccable quality and fast turn-around to any market.
>>
>> ___
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>>
>
>
>
> --
> John Thompson
>



-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Odd error message

2011-07-22 Thread John Thompson
Never seen that one...

My initial thought is:

Is there a program that has a dimensioned array, where the data that the
program is trying to read in is larger than the array that was declared in
the BASIC program?

On Fri, Jul 22, 2011 at 11:52 AM, Glorfield, Gordon <
gglorfi...@vertisinc.com> wrote:

> Had a user get a message I've not seen before.  Message was: Index: 0 to
> one dimension is out of range.  The system kicked the user to TCL after this
> message.  We are running UniData 7.2.4 on HP UX.
>
> I went into the system but was unable to duplicate the error.  Has anyone
> seen this message before and what causes it?
>
> Thanks,
> Gordon
>
> Gordon J Glorfield | Software Application Developer | Vertis Communications
> 250 W. Pratt Street, Suite 1800 | Baltimore, MD, 21201
> T 410-361-8664 | M 443-280-7093
> gglorfi...@vertisinc.com | http://www.vertisinc.com
>
> Vertis Communications is a results-driven marketing communications company
> that delivers inventive advertising, direct marketing and interactive
> solutions to prominent brands across North America. Our deep industry
> knowledge and extensive range of offerings-including integrated data
> solutions, digital program management systems, creative services,
> world-class print and mail production, logistics, out-of-home and business
> process outsourcing-are used to deliver superior program performance that
> drives bottom line results for our clients. With 100 strategically
> positioned locations and more than 5,000 dedicated professionals, we deliver
> impeccable quality and fast turn-around to any market.
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>



-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Odd error message

2011-07-22 Thread Glorfield, Gordon
Had a user get a message I've not seen before.  Message was: Index: 0 to one 
dimension is out of range.  The system kicked the user to TCL after this 
message.  We are running UniData 7.2.4 on HP UX.

I went into the system but was unable to duplicate the error.  Has anyone seen 
this message before and what causes it?

Thanks,
Gordon

Gordon J Glorfield | Software Application Developer | Vertis Communications
250 W. Pratt Street, Suite 1800 | Baltimore, MD, 21201
T 410-361-8664 | M 443-280-7093
gglorfi...@vertisinc.com | http://www.vertisinc.com

Vertis Communications is a results-driven marketing communications company that 
delivers inventive advertising, direct marketing and interactive solutions to 
prominent brands across North America. Our deep industry knowledge and 
extensive range of offerings-including integrated data solutions, digital 
program management systems, creative services, world-class print and mail 
production, logistics, out-of-home and business process outsourcing-are used to 
deliver superior program performance that drives bottom line results for our 
clients. With 100 strategically positioned locations and more than 5,000 
dedicated professionals, we deliver impeccable quality and fast turn-around to 
any market.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users