dbTalk Databases Forums  

Disable "Press any key to continue..."

comp.databases.pick comp.databases.pick


Discuss Disable "Press any key to continue..." in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Disable "Press any key to continue..." - 02-06-2007 , 07:02 PM






Peter wrote:
Quote:
$OPTIONS INFORMATION
...
DUMMY = @(0,0)
HEADING HEADER
That's interesting information (pun sort of intended I guess) but I
have to believe you're capitalizing on a bug which may be fixed in
some upcoming release. I see great pains for some other site that may
find things working differently the next time they upgrade.

Can someone explain to me why an obscure reference to @(0,0) would be
defined as providing the functionality described? If it's not defined
(and I didn't crack the friendly manual on this one) then while you're
enjoying the benefits of the bug I recommend you contact IBM to get a
better solution and/or ensure that they fix (or perhaps _don't_ fix)
this situation for you and others.

Another side effect of using a work-around like this is that some
other developer at some site is going to see that code, say "this
doesn't belong here!", remove it, and then things will break. With
one-off changes like that it's very easy for the change to not be
documented, and for someone to forget this one line of code they
removed because they were so smart.

So thanks for the tip but I think someone needs to take this one a
little further.

T



Reply With Quote
  #12  
Old   
Somebody
 
Posts: n/a

Default Re: Disable "Press any key to continue..." - 02-06-2007 , 07:48 PM






Tony Gravagno wrote:
Quote:
Peter wrote:
$OPTIONS INFORMATION
...
DUMMY = @(0,0)
HEADING HEADER

That's interesting information (pun sort of intended I guess) but I
have to believe you're capitalizing on a bug which may be fixed in
some upcoming release. I see great pains for some other site that may
find things working differently the next time they upgrade.

Can someone explain to me why an obscure reference to @(0,0) would be
defined as providing the functionality described? If it's not defined
(and I didn't crack the friendly manual on this one) then while you're
enjoying the benefits of the bug I recommend you contact IBM to get a
better solution and/or ensure that they fix (or perhaps _don't_ fix)
this situation for you and others.

Another side effect of using a work-around like this is that some
other developer at some site is going to see that code, say "this
doesn't belong here!", remove it, and then things will break. With
one-off changes like that it's very easy for the change to not be
documented, and for someone to forget this one line of code they
removed because they were so smart.

So thanks for the tip but I think someone needs to take this one a
little further.
Assigning @(0,0) to a variable has disabled pagination in Universe (in
Information flavor) for as long as I've known. I originally learned
that technique in Prime Information, and carried it forward to Universe.
I also learned to put it in my code as follows:

DUMMY = @(0,0) ;* Disable pagination

And I learned that one the hard way, when someone "cleaned up" one of my
programs and removed what they saw as a superfluous line of code.

Regards.

--
Allen Egerton aegerton at pobox dot com


Reply With Quote
  #13  
Old   
mdsi2000
 
Posts: n/a

Default Re: Disable "Press any key to continue..." - 02-07-2007 , 07:37 AM



Hello Tony,
Very true. But a seassoned programmer you would know to add comments.
Here is my comment in the program. Can't get any clearer that that.

DUMMY = @(0,0) ;* To prevent "Press any key to continue..."

BTW Speaking of seassoned programers. This is my 20th year programming
in Pick. It's been a long ride and I don't see it comming to an end. I
have see the good, the bad and ugly in both programmers and companies.
I love this stuff and I'm getting paid for it. Life is good....

Pete


Quote:
Another side effect of using a work-around like this is that some
other developer at some site is going to see that code, say "this
doesn't belong here!", remove it, and then things will break. With
one-off changes like that it's very easy for the change to not be
documented, and for someone to forget this one line of code they
removed because they were so smart.



Reply With Quote
  #14  
Old   
Bill Millikin
 
Posts: n/a

Default Re: Disable "Press any key to continue..." - 02-07-2007 , 09:58 AM



You're getting PAID for it?

Bill

mdsi2000 wrote:
Quote:
Hello Tony,
Very true. But a seassoned programmer you would know to add comments.
Here is my comment in the program. Can't get any clearer that that.

DUMMY = @(0,0) ;* To prevent "Press any key to continue..."

BTW Speaking of seassoned programers. This is my 20th year programming
in Pick. It's been a long ride and I don't see it comming to an end. I
have see the good, the bad and ugly in both programmers and companies.
I love this stuff and I'm getting paid for it. Life is good....

Pete


Another side effect of using a work-around like this is that some
other developer at some site is going to see that code, say "this
doesn't belong here!", remove it, and then things will break. With
one-off changes like that it's very easy for the change to not be
documented, and for someone to forget this one line of code they
removed because they were so smart.



Reply With Quote
  #15  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Disable "Press any key to continue..." - 02-07-2007 , 04:55 PM



That cought my eye too. Wow, you mean it's not all about passion?

Attention all Nebula R&D clients: I understand we should be getting
paid for all of this effort now, so from this point forward be
prepared to get invoices for services rendered.

(As some of my clients will tell you, that's not too far from the
truth sometimes. Doh!)

T


Bill Millikin wrote:
Quote:
You're getting PAID for it?

mdsi2000 wrote:
I love this stuff and I'm getting paid for it. Life is good....


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.