xBase Command Interpreter
Moderator: Rathinagiri
xBase Command Interpreter
Hello,
In the last 4 months i was working in a project that is an 'HMG' version of Command Prompt but executing HMG functions using Macro (&)
Now it seems finished, and then i decided to post it in HMGForum.
The Form looks pretty good using the DwmExtendFrameIntoClientArea function contributed by Dr. Claudio Soto
Basic Tips:
Creating text files and drag 'n' drop into the window, the program will run like CMD opens '.bat' files, reading line per line and executing them
Var(cIdVar,xValue) // for define public variables
XCOM=T or F (XCOM=F program will decline HMGFunctions and will execute custom commands)
lEcho := .t. (all function that give return will be printed on screen)
What does not work // yet:
Commands like: IF ENDIF ELSE FOR CALL RUN DO WHILE CASE...
Maybe it can be part of official HMG Samples
In the last 4 months i was working in a project that is an 'HMG' version of Command Prompt but executing HMG functions using Macro (&)
Now it seems finished, and then i decided to post it in HMGForum.
The Form looks pretty good using the DwmExtendFrameIntoClientArea function contributed by Dr. Claudio Soto
Basic Tips:
Creating text files and drag 'n' drop into the window, the program will run like CMD opens '.bat' files, reading line per line and executing them
Var(cIdVar,xValue) // for define public variables
XCOM=T or F (XCOM=F program will decline HMGFunctions and will execute custom commands)
lEcho := .t. (all function that give return will be printed on screen)
What does not work // yet:
Commands like: IF ENDIF ELSE FOR CALL RUN DO WHILE CASE...
Maybe it can be part of official HMG Samples
- Attachments
-
- xBaseCMDsource.zip
- xBaseCMD exe&source
- (1.33 MiB) Downloaded 487 times
-
- Capture.PNG (184.82 KiB) Viewed 6468 times
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: xBase Command Interpreter
Hello Meneale,
I do not understand what your program, any ideas?
regards
I do not understand what your program, any ideas?
regards
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: xBase Command Interpreter
..Javier Tovar wrote:Hello Meneale,
I do not understand what your program, any ideas?
regards
Javier :
Visual Fox , foxpro desde epocas antiguas venia con una linea de comando donde ejecutas comandos basicos como abrir tablas, indezr bases etc.etc.
imaginate que podes tener abierto un proyecto y necesitas ver el contenido de una tabla que no pertenece al proyecto.
no salis del IDE y desde la linea de comando haces
USE MITABLA
BROW.
simple no ?
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: xBase Command Interpreter
Gracias por compatir Meneale !!!!
descargando y probando !!!!!!
descargando y probando !!!!!!
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: xBase Command Interpreter
Yes Daniel,
I create this program to run test scripts without needed to compile it.
Make it very useful
I create this program to run test scripts without needed to compile it.
Make it very useful
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: xBase Command Interpreter
Error :
Falta Win.ico
Falta Win.ico
Necesitarios una lista de los comandos soportados por "xBase Command Interpreter"windres: can't open icon file `win.ico': No such file or directory
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: xBase Command Interpreter
Ahhh ,
OK DanielMaximiliano eso seria estupendo
Saludos
OK DanielMaximiliano eso seria estupendo
Saludos
Re: xBase Command Interpreter
xBase CMD Support all defined Functions, including user defined, hmg default functions, c functions...
xBaseCMD doesn't support commands / structures, like:
LOCAL, PRIVATE, STATIC, PUBLIC // substitute var(idVar,xContent) // define public variables
IF, ELSE, ENDIF // substitute If(conditional,iftrue,iffalse)
DEFINE <control definition>, END // substitute(s) _DefineWindow(), _DefineModalWindow, _DefineSplitChildWindow(), _DefineEditBox(),... (look at hmg3.2\include)
DO WHILE, END DO, LOOP // nothing yet
FOR, NEXT // substitute fstep(starn,end,step,bAction)
CASE, OTHERWISE, END // nothing yet
@...BOX, @...SAY, @....<control definition>
SET *
.facp files are scripts to the xBase (like .bat for the cmd)
chrome.facp // Turns Google Chrome or Opera into half transparent
cmdmenu.facp // Define a Main Menu in the form, but look bad because of DWM
yourip.facp // Get you ip address
To open it, drag and drop in EXE or in the form
xBaseCMD doesn't support commands / structures, like:
LOCAL, PRIVATE, STATIC, PUBLIC // substitute var(idVar,xContent) // define public variables
IF, ELSE, ENDIF // substitute If(conditional,iftrue,iffalse)
DEFINE <control definition>, END // substitute(s) _DefineWindow(), _DefineModalWindow, _DefineSplitChildWindow(), _DefineEditBox(),... (look at hmg3.2\include)
DO WHILE, END DO, LOOP // nothing yet
FOR, NEXT // substitute fstep(starn,end,step,bAction)
CASE, OTHERWISE, END // nothing yet
@...BOX, @...SAY, @....<control definition>
SET *
.facp files are scripts to the xBase (like .bat for the cmd)
chrome.facp // Turns Google Chrome or Opera into half transparent
cmdmenu.facp // Define a Main Menu in the form, but look bad because of DWM
yourip.facp // Get you ip address
To open it, drag and drop in EXE or in the form
- Attachments
-
- win.zip
- Win.ico (i zipped because ico isn't allowed)
- (76.98 KiB) Downloaded 345 times
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: xBase Command Interpreter
Wow. It is a very nice work. Great achievement. Thanks a lot for sharing MeneAle.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: xBase Command Interpreter
+1
Excellent work, Thank's for sharing
Excellent work, Thank's for sharing
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG