FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Differences
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Differences
Posted: Sun Nov 14, 2010 09:49 AM

Hello,

Can anyone tell me what the difference is between DBSKIP() and SKIP, between DBGOTOP() and GO TOP, between DBAPPEND() and APPEND, ... ?

I have always used SKIP, GO TOP, APPEND, ... and I never got any problem with them.

Thanks a lot in advance.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Differences
Posted: Sun Nov 14, 2010 11:18 AM

Michel,

Those commands get preprocessed into their respectives functions calls. You may review std.ch to see how the commands get translated into their functions calls.

So in fact it is the same to use the command or the function. In case that you need to call them from a codeblock, then you will have to use the function call as the command can't be used there.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Differences
Posted: Sun Nov 14, 2010 12:16 PM
Another advantage is with function calls, you can work on a different workarea without changing the current one e.g.
Code (fw): Select all Collapse
use stock new exclusive
use inv new exclusive
copy inv to tmp123

select stock
? desc
inv->(dbSkip())
("tmp123")->(dbSkip())
tmp123->(dbSkip())
? desc
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Differences
Posted: Sun Nov 14, 2010 05:30 PM

Antonio,
Hua,

Thanks a lot for your answers.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion