dbTalk Databases Forums  

"Significant Differences" in MV platforms

comp.databases.pick comp.databases.pick


Discuss "Significant Differences" in MV platforms in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Mike Preece
 
Posts: n/a

Default Re: "Significant Differences" in MV platforms - 06-09-2011 , 05:08 AM






On Jun 1, 7:47*pm, MikeR <mg.ry... (AT) gmail (DOT) com> wrote:
Quote:
On Jun 1, 2:25*pm, JJCSR <JCro... (AT) ktp (DOT) com> wrote:





Without going too deep I'll toss out a short list of what adds up to
my definition of "significant":

Regards,
T

Tony:

Thanks for the response. * I follow your thoughts on the "significant
difference" issue.

I guess you could say we were, for the most part, a "sideways
migration". * However, "fail safe" and "DR" were key issues I needed
to deal with. * D3/NT could not do so at the level we were at (7.4.7),
so we are now positioned to start working towards implementing
failsafe and DR on REALITY/NT. * Hardware and networking upgrades are
already underway.

Thanks again for your explanations.

Best regards,

Jim Cronin

Add to this:

FOR J = A TO B
blah blah
NEXT J

In some (D3), variable A and B are recalculated every loop, whereas in
others (UV) they are only calculated once.

Mike- Hide quoted text -

- Show quoted text -
Hi Mike,

(I hope and trust you're well)

I believe you got this wrong mate.

In D3, looking at FOR J=A TO B,

J is, of course, incremented for each iteration,

A is evaluated once only - to get the initial value for J - whether A
is a variable or expression,

B is only recalculated for each iteration if it is an expression.
Obviously, if it's a variable it simply uses the value for the
comparison.

This is one reason I often code like...

FOR A=DCOUNT(X,Y) TO 1 STEP -1

....knowing it's not going to run any slower than

B=DCOUNT(X,Y); FOR A=B TO 1 STEP-1

The other reason is it's slightly quicker to type.

There is a compiler option (a which will show you exactly what is
going on. I would use it to display the code generated for sample code
and copy and paste it here but I dont have d3 on this machine. Maybe
someone else can/will oblige (*hint*).

Best rgds,
Mike.

Reply With Quote
  #12  
Old   
Jeremy Thomson
 
Posts: n/a

Default Re: "Significant Differences" in MV platforms - 06-14-2011 , 11:57 PM






On Jun 3, 7:28*am, JJCSR <JCro... (AT) ktp (DOT) com> wrote:
Quote:
Considering what started this thread, I would have to say that the
STAK application was my most "significant" difference to have to deal
with.

Best to all,

Jim Cronin
For the same reason, moving from Reality to R83, I wrote a stacker
program too.
I was working for Recom Systems the NZ distributor of PC Pick and they
gave away my stacker and a few other ultilities on a floppy (5.25")
when you bought PC Pick.
I wonder if anyone has a copy of it?
The other thing I missed from the Reality was PQN (don't roll your
eyes!), most systems I've worked on I've created a PROCUTIL program
that allows you to read and write
to files based on STON stacked inputs and manipulate the input buffer.
If I remember rightly the PERFORM command wasn't available until later
releases of Reality so PROCs were important.

Jeremy Thomson

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.