Re: Input weirdo...
Malcolm Bull has provided a chart on his web site of the codes for multiple multivalue databases. Have a look at http://members.aol.com/mbtexts/93.html Ron White - Original Message - From: Dennis Bartlett [EMAIL PROTECTED] To: 'U2 Users Discussion List' [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 7:10 AM Subject: RE: Input weirdo... Thanks Mark! Bjorn managed to find his reply (in an Advanced Pick manual) just after I'd sent the request, which kinda worked, but not exactly, but your length of inputbuffer works a charm. Speaking of these SYSTEM thangs - is there anywhere I can get a list of all the settings / variables included in SYSTEM(x)? -Original Message- [snip] SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly UV/UD. The CLEARSELECT is UV/UD specific. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users --- [ Eckel certifies this E-mail to be virus free. ] --- [ Eckel certifies this E-mail to be virus free. ] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Input weirdo...
Thanks Mark! Bjorn managed to find his reply (in an Advanced Pick manual) just after I'd sent the request, which kinda worked, but not exactly, but your length of inputbuffer works a charm. Speaking of these SYSTEM thangs - is there anywhere I can get a list of all the settings / variables included in SYSTEM(x)? -Original Message- [snip] SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly UV/UD. The CLEARSELECT is UV/UD specific. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Input weirdo...
The Advanced Pick manual illustrates most all of the SYSTEM() references. It's one of my favorite manuals as it's chapterized like all the others but the index is pure as it contains everything. I don't like the UD/UV manuals as you need to know which index in which book to look up your topic. If you're looking up U50BB, is it in the ECL book, the UniProc book or the UniBasic book?. Not that helpful. Please no flames about books on CD's. Not always helpful either. my 1 cent. - Original Message - From: Dennis Bartlett [EMAIL PROTECTED] To: 'U2 Users Discussion List' [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 8:10 AM Subject: RE: Input weirdo... Thanks Mark! Bjorn managed to find his reply (in an Advanced Pick manual) just after I'd sent the request, which kinda worked, but not exactly, but your length of inputbuffer works a charm. Speaking of these SYSTEM thangs - is there anywhere I can get a list of all the settings / variables included in SYSTEM(x)? -Original Message- [snip] SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly UV/UD. The CLEARSELECT is UV/UD specific. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Input weirdo...
Here's another solution: LOOP INPUT VAR,-1 IF VAR THEN INPUT TOUCH,1 IF TOUCH = 'X' THEN EXIT END REPEAT - Original Message - From: Mark Johnson [EMAIL PROTECTED] To: U2 Users Discussion List [EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:41 PM Subject: Re: Input weirdo... I have a new client that i've yet to be able to break key with over the modem. So if I'm running a program (readnext etc) but i want to break, I include this INCLUDE. IF SYSTEM(14) # 0 THEN INPUT A IF A=Q THEN CLEARSELECT (sic) ; STOP IF A=D THEN DEBUG END SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly UV/UD. The CLEARSELECT is UV/UD specific. My 1 cent. - Original Message - From: Dennis Bartlett [EMAIL PROTECTED] To: 'U2 Users Discussion List' [EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:54 AM Subject: Input weirdo... We have a program looping through all data files searching for something - sometimes it gets to a file containing several million records and we'd like to be able to tell it to skip that file and continue with the next file. We've tried the following approaches with said results: (1) OPT.OUT = KEYIN() ; if OPT.OUT = 1 then EXIT OPT.OUT = 0 the program sits waiting for input in every iteration, ie every record (2) INPUT OPT.OUT,-1 ; if OPT.OUT = 'S' then EXIT OPT.OUT = 0 CLEARDATA CLEARINPUT the program works perfectly until an 'S' is entered then skips every file after that... HOWEVER, if I press Ctrl-Break, enter DEBUG, enter C(ontinue), the program continues as normal until another 'S' is entered.. Obviously the machine still has something in the input buffer, despite the CLEARDATA, something that gets whacked when debug hits the scene... Any ideas? -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Input weirdo...
Goo'day, At 22:10 29/04/04, you wrote: snip Speaking of these SYSTEM thangs - is there anywhere I can get a list of all the settings / variables included in SYSTEM(x)? IIRC, somebody did just that some months/years ago For UV at least Check the archives HTH -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.230 / Virus Database: 262.9.10 - Release Date: 28/04/04 Regards, Bruce Nichol Talon Computer Services ALBURYNSW 2640 Australia Tel: +61 (0)411149636 Fax: +61 (0)260232119 If it ain't broke, fix it till it is! -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.230 / Virus Database: 262.9.10 - Release Date: 28/04/04 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Input weirdo...
USE INPUTCLEAR not CLEARINPUT Regards Björn Behr Programmer HYFLO Southern Africa (Pty) Ltd Tel : +27 11 386 5800 Fax : +27 11 444 5391 Mail: [EMAIL PROTECTED] WWW : http://www.hyflo.co.za In the beginning, the universe was created. This made a lot of people very angry, and has been widely regarded as a bad idea. - Douglas Noel Adams (b. 1952), British author -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Bartlett Sent: 28 April 2004 04:55 To: 'U2 Users Discussion List' Subject: Input weirdo... We have a program looping through all data files searching for something - sometimes it gets to a file containing several million records and we'd like to be able to tell it to skip that file and continue with the next file. We've tried the following approaches with said results: (1) OPT.OUT = KEYIN() ; if OPT.OUT = 1 then EXIT OPT.OUT = 0 the program sits waiting for input in every iteration, ie every record (2) INPUT OPT.OUT,-1 ; if OPT.OUT = 'S' then EXIT OPT.OUT = 0 CLEARDATA CLEARINPUT the program works perfectly until an 'S' is entered then skips every file after that... HOWEVER, if I press Ctrl-Break, enter DEBUG, enter C(ontinue), the program continues as normal until another 'S' is entered.. Obviously the machine still has something in the input buffer, despite the CLEARDATA, something that gets whacked when debug hits the scene... Any ideas? -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Input weirdo...
Also, in place of the INPUT OPT.OUT,1 read to drain, you could use INPUTCLEAR to do the same thing without actually reading anything. At 10:54 AM 4/28/2004, you wrote: We have a program looping through all data files searching for something - sometimes it gets to a file containing several million records and we'd like to be able to tell it to skip that file and continue with the next file. We've tried the following approaches with said results: (1) OPT.OUT = KEYIN() ; if OPT.OUT = 1 then EXIT OPT.OUT = 0 the program sits waiting for input in every iteration, ie every record (2) INPUT OPT.OUT,-1 ; if OPT.OUT = 'S' then EXIT OPT.OUT = 0 CLEARDATA CLEARINPUT the program works perfectly until an 'S' is entered then skips every file after that... HOWEVER, if I press Ctrl-Break, enter DEBUG, enter C(ontinue), the program continues as normal until another 'S' is entered.. Obviously the machine still has something in the input buffer, despite the CLEARDATA, something that gets whacked when debug hits the scene... Any ideas? -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Input weirdo...
I have a new client that i've yet to be able to break key with over the modem. So if I'm running a program (readnext etc) but i want to break, I include this INCLUDE. IF SYSTEM(14) # 0 THEN INPUT A IF A=Q THEN CLEARSELECT (sic) ; STOP IF A=D THEN DEBUG END SYSTEM(14) is the length of the typeahead buffer. D3 for sure and possibly UV/UD. The CLEARSELECT is UV/UD specific. My 1 cent. - Original Message - From: Dennis Bartlett [EMAIL PROTECTED] To: 'U2 Users Discussion List' [EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 10:54 AM Subject: Input weirdo... We have a program looping through all data files searching for something - sometimes it gets to a file containing several million records and we'd like to be able to tell it to skip that file and continue with the next file. We've tried the following approaches with said results: (1) OPT.OUT = KEYIN() ; if OPT.OUT = 1 then EXIT OPT.OUT = 0 the program sits waiting for input in every iteration, ie every record (2) INPUT OPT.OUT,-1 ; if OPT.OUT = 'S' then EXIT OPT.OUT = 0 CLEARDATA CLEARINPUT the program works perfectly until an 'S' is entered then skips every file after that... HOWEVER, if I press Ctrl-Break, enter DEBUG, enter C(ontinue), the program continues as normal until another 'S' is entered.. Obviously the machine still has something in the input buffer, despite the CLEARDATA, something that gets whacked when debug hits the scene... Any ideas? -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users