FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour . prompt for FWH
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
. prompt for FWH
Posted: Thu Jun 16, 2016 05:25 PM

Many years ago there was a program for Clipper called dClip. It provided the power of a . prompt so we could, on the fly, perform command level operations just like in dBase.

We have many implementations of file editors but sometimes it would be so much easier to be able to use that good old fashioned . prompt. Does anyone know of a code source that we could include within a dbedit program that provides the . prompt ? Maybe it is out there and I just have overlooked it in recent years.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: . prompt for FWH
Posted: Thu Jun 16, 2016 05:43 PM
I do not know if I understand correctly
As the old DBU?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: . prompt for FWH
Posted: Thu Jun 16, 2016 06:53 PM

Tim,

Both Fivedit.prg and FiveDBU.prg implement scripting using Harbour library (hbcplr.lib) built-in compiler

You can write any code and execute it on run time. If you need the .dot interface, I developed one for
FiveMac that can be used also.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: . prompt for FWH
Posted: Thu Jun 16, 2016 07:27 PM

The old . prompt made some tasks so simple.

. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")

That doesn't always work very well with our edit and dbu programs.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: . prompt for FWH
Posted: Fri Jun 17, 2016 04:26 AM
Mr.Tim,


. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")


You can try xHarbour's xPrompt. It does the same job.

-Ramesh Babu
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: . prompt for FWH
Posted: Fri Jun 17, 2016 11:17 AM

Where Can I Download it?
Many thanks
Marco

Marco Boschi
info@marcoboschi.it
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: . prompt for FWH
Posted: Fri Jun 17, 2016 12:32 PM
Mr.Marco,

I remember that xHarbour used to provide "xPrompt.exe" along with other
binaries in xHarbour\Bin folder. Now it is not seen in Bin folder :-)

Refer this link:
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24088&start=0

In case you want it, plz. email to : aksharasoft at gmail dot com.

I will send my copy.

-Ramesh Babu P
Posts: 731
Joined: Fri Oct 07, 2005 07:42 AM
Re: . prompt for FWH
Posted: Fri Jun 17, 2016 01:54 PM
Why not hbrun ?
Saludos

Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: . prompt for FWH
Posted: Fri Jun 17, 2016 01:56 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion