Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-24 Thread Brian Leach
Wol In BASIC, *EVERYTHING* is a string (apart from file variables). Therefore any comparison should be valid. To be more precise, no. UniVerse Basic is a run-time typed language (like PHP) not a string language. So it gets the performance and storage benefits of real types, and coerces between

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-21 Thread Jacques G.
If your file is opened, then comparing it to an empty string is what will cause an invalid data type error. WHY!!! If the datatypes don't match, then the result of the comparison is FALSE, not INVALID. It is logically correct to do such a comparison. The result I am looking for is the

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-21 Thread Anthony W. Youngman
In message 321088.49154...@web36901.mail.mud.yahoo.com, Jacques G. jacque...@yahoo.com writes If your file is opened, then comparing it to an empty string is what will cause an invalid data type error. WHY!!! If the datatypes don't match, then the result of the comparison is FALSE, not

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-21 Thread fft2001
AM To: U2 Users List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Yes, I see your point. I wonder if the integer gets treated like a string in the first instance. I wonder what the result with FILEVARS1 would be. -John -Original Message- From: u2-users-boun

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-21 Thread Bill Haskett
...That's what I absolutely HATE about artificial stupidity. It thinks it knows better than me, and gives me what it thinks I should have, not what I asked for. Then again, I can't imagine it thinks it should CRASH! :-o Bill

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-20 Thread Jacques G.
Oh - that reminds me of something else I'd call a bug. It might well have been fixed by now (I met it in 9.6) but you couldn't safely use a file variable in an IF statement. Can't remember the details, but it was something like FVAR = some conditional code OPEN FILE TO FVAR more code IF FVAR

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-20 Thread Jacques G.
, ARGV_IN, ARGV_OUT) This means each program calling MYSUB has to be modified. - Original Message From: John Hester jhes...@momtex.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Tue, May 18, 2010 3:31:25 PM Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Reading my

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-20 Thread Anthony W. Youngman
In message 536051.22442...@web36905.mail.mud.yahoo.com, Jacques G. jacque...@yahoo.com writes Oh - that reminds me of something else I'd call a bug. It might well have been fixed by now (I met it in 9.6) but you couldn't safely use a file variable in an IF statement. Can't remember the details,

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-19 Thread Rex Gozar
Anthony W. Youngman pi...@thewolery.demon.co.uk 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread John Hester
. Youngman Sent: Tuesday, May 18, 2010 7:45 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] OPENSEQ and Abnormal termination of UV In message e6179e13392ec14aabcd5272c3aedd61124ec...@exchangesvr.momtex.com, John Hester jhes...@momtex.com writes I think it's something along those lines, but I

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread John Hester
To: U2 Users List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Yes, I see your point. I wonder if the integer gets treated like a string in the first instance. I wonder what the result with FILEVARS1 would be. -John -Original Message- From: u2-users-boun

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread Symeon Breen
!! ?? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Hester Sent: 18 May 2010 20:31 To: U2 Users List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Reading my own response just made me realize what's going on. I

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread John Hester
as a pointer !! ?? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Hester Sent: 18 May 2010 20:31 To: U2 Users List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Reading my own response just made me realize

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread Brian Leach
Looks like putting a sequential file in a dimensioned array makes it go out and reserve a block of memory the size of the entire file. Doubtful.. I'm guessing under the hood the array will resolve to a series of pointers somewhere down the track, but those pointers will need to be cast to

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-18 Thread Anthony W. Youngman
- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Anthony W. Youngman Sent: Tuesday, May 18, 2010 7:45 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] OPENSEQ and Abnormal termination of UV In message e6179e13392ec14aabcd5272c3aedd61124ec

[U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Rajesh Menon
Does anyone knows what is happening here: I am trying to open a text file (over 4Gb) using OPENSEQ and storing the file variable into a array as follows: COMMON /MYPROG/ FILEVARS(10) OPENSEQ /tmp/file.txt to FILEVARS(1) ELSE ... This operation results abnormal termination with fault type error

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Perry Taylor
To: u2-users@listserver.u2ug.org Subject: [U2] OPENSEQ and Abnormal termination of UV Does anyone knows what is happening here: I am trying to open a text file (over 4Gb) using OPENSEQ and storing the file variable into a array as follows: COMMON /MYPROG/ FILEVARS(10) OPENSEQ /tmp/file.txt to FILEVARS(1

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Dan Goble
Sent: Mon May 17 14:55:30 2010 Subject: [U2] OPENSEQ and Abnormal termination of UV Does anyone knows what is happening here: I am trying to open a text file (over 4Gb) using OPENSEQ and storing the file variable into a array as follows: COMMON /MYPROG/ FILEVARS(10) OPENSEQ /tmp/file.txt

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Rajesh Menon
List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Just for giggles... what happens if you... OPENSEQ '/tmp/file.txt' TO FV.TEMP ELSE ... FILEVARS(1) = FV.TEMP ?? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Rajesh Menon
-boun...@listserver.u2ug.org] On Behalf Of Dan Goble Sent: Monday, May 17, 2010 12:00 PM To: 'u2-users@listserver.u2ug.org' Subject: Re: [U2] OPENSEQ and Abnormal termination of UV You may want to check with your Systems Administrator to be sure your file system is setup to support files larger

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Buffington, Wyatt
Sent: Monday, May 17, 2010 2:09 PM To: U2 Users List Subject: Re: [U2] OPENSEQ and Abnormal termination of UV I already tried that. Same Error and the fault occurring at FILEVAR(1) = FV.TEMP line. Thanks, Rajesh -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread jpb-u2ug
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rajesh Menon Sent: Monday, May 17, 2010 1:56 PM To: u2-users@listserver.u2ug.org Subject: [U2] OPENSEQ and Abnormal termination of UV Does anyone knows what is happening here: I am trying to open a text file (over 4Gb) using OPENSEQ

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Marc A Hilbert
de mayo de 2010 16:12 Para: U2 Users List Asunto: Re: [U2] OPENSEQ and Abnormal termination of UV Yes file system is setup to support +2Gb files. As I mentioned I can open the file using a scalar file variable. Problem happening only with the combination of +2Gb and using array variable. Thanks

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread Perry Taylor
program PTEST at address 5a. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marc A Hilbert Sent: Monday, May 17, 2010 3:41 PM To: 'U2 Users List' Subject: Re: [U2] OPENSEQ and Abnormal termination of UV What

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread John Hester
Users List' Subject: Re: [U2] OPENSEQ and Abnormal termination of UV Let me see, can it be because you are trying to cram over 4 GB of data into a single cell. Unlike the OPEN statement that just puts the file variable into a variable, the OPENSEQ opens the whole file to the variable. Jerry Banker

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-17 Thread aelwood
A Hilbert Sent: Monday, May 17, 2010 3:41 PM To: 'U2 Users List' Subject: Re: [U2] OPENSEQ and Abnormal termination of UV What happens wif you open to regular variable then pass it over to the array: OPENSEQ TO FVAR FILEVARS(1) = FVAR ? Regards, Marc -Mensaje original- De: u2-users