AC4xBrowse
Re: AC4xBrowse
Hello friends,
now that I’m working more with mod harbour, I find Autocode even more useful. When you’re not constantly dealing with syntax, you forget some things, and an assistant becomes very helpful.
I’ve always wondered why no one has ever seriously been interested in Autocode. But some things are hard to understand.
Best regards,
Otto
now that I’m working more with mod harbour, I find Autocode even more useful. When you’re not constantly dealing with syntax, you forget some things, and an assistant becomes very helpful.
I’ve always wondered why no one has ever seriously been interested in Autocode. But some things are hard to understand.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: AC4xBrowse
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: AC4xBrowse
Otto,
I think that most forum members don't want to use code generators, since we don't have full control. You can use it because you build it and it perfectly will do what you want.
I tried the 2020 version, but it erases all the comments and // info from the code. This is important for me because I comment all stuff inside my program.
Just sharing my feeling, sure not show negatif info about AutoCode.
I use a Shared program from Rao and Uwe and modified it so that ALL functions, prg's, methods and data are in a dbf for lookup. Is not perfect, but helps a lot. I also modified it in order to read
the forum every now and then in order to read ALL prg's posted. They also come in a dbf for lookup.
So If I want a drag/drop implemention from Xbrowse I use these 2 parameters and I get samples from the forum. This is my most used program to find part of source and ideas.
If no match and no info... I ask the Forum ))))
I do think however that Autocode has a great potencial since it shows the Data etc. on a nice way. You could convert it so that It hold all data from functions like you do with Xbrowse, but as a INFO maker
Call it AutoInfo ....
I think that most forum members don't want to use code generators, since we don't have full control. You can use it because you build it and it perfectly will do what you want.
I tried the 2020 version, but it erases all the comments and // info from the code. This is important for me because I comment all stuff inside my program.
Just sharing my feeling, sure not show negatif info about AutoCode.
I use a Shared program from Rao and Uwe and modified it so that ALL functions, prg's, methods and data are in a dbf for lookup. Is not perfect, but helps a lot. I also modified it in order to read
the forum every now and then in order to read ALL prg's posted. They also come in a dbf for lookup.
So If I want a drag/drop implemention from Xbrowse I use these 2 parameters and I get samples from the forum. This is my most used program to find part of source and ideas.
If no match and no info... I ask the Forum ))))
I do think however that Autocode has a great potencial since it shows the Data etc. on a nice way. You could convert it so that It hold all data from functions like you do with Xbrowse, but as a INFO maker
Call it AutoInfo ....
Last edited by Marc Venken on Mon Dec 30, 2024 7:49 pm, edited 1 time in total.
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: AC4xBrowse
Hitting forum will bring me to the topic on the forum.
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
Re: AC4xBrowse
Hello Marc,
yes, you're right. I understand that in your case, you only need to solve your problem and don't need to sell your software.
But when offering software on the market, you have to push the parameters that are possible with the controls to their limits.
It was just that, after a long time, I had to make some significant changes to a FW-program again, and I already had to look up the smallest syntax settings.
I was glad to have AUTOCODE.
Autocode uses the FIVEWIN.CH files and is therefore up to date.
The first post about AUTOCODE was on Thu Apr 22, 2010, 10:49 pm:
autoCode5 – the timesaver. And that's exactly what it's been for me for almost 15 years now.
I have also posted the source code several times.
I think you misunderstood the part about the comments. The tool always only works with the control that you copy & paste into Autocode.
It also provides a clear source code formatting.
I use it and am glad to have this "competitive advantage."
HARBOURINO – mainly for mod harbour – which also doesn't interest anyone, is an even bigger "timesaver" and enables programs and programming that a beginner otherwise wouldn't be able to do.
Today, I finished the layout for the dashboard of WINHOTEL Web in terms of web technology.
I'll post screenshots later.
The Cloudflare solution for self-hosting also finds no interest. €10 and you’re securely online with a domain, have the web server on your own PC, and can access your programs via cloudflared tunnel just like with VPN from anywhere (keyword: RDP).
Best regards,
Otto
yes, you're right. I understand that in your case, you only need to solve your problem and don't need to sell your software.
But when offering software on the market, you have to push the parameters that are possible with the controls to their limits.
It was just that, after a long time, I had to make some significant changes to a FW-program again, and I already had to look up the smallest syntax settings.
I was glad to have AUTOCODE.
Autocode uses the FIVEWIN.CH files and is therefore up to date.
The first post about AUTOCODE was on Thu Apr 22, 2010, 10:49 pm:
autoCode5 – the timesaver. And that's exactly what it's been for me for almost 15 years now.
I have also posted the source code several times.
I think you misunderstood the part about the comments. The tool always only works with the control that you copy & paste into Autocode.
It also provides a clear source code formatting.
I use it and am glad to have this "competitive advantage."
HARBOURINO – mainly for mod harbour – which also doesn't interest anyone, is an even bigger "timesaver" and enables programs and programming that a beginner otherwise wouldn't be able to do.
Today, I finished the layout for the dashboard of WINHOTEL Web in terms of web technology.
I'll post screenshots later.
The Cloudflare solution for self-hosting also finds no interest. €10 and you’re securely online with a domain, have the web server on your own PC, and can access your programs via cloudflared tunnel just like with VPN from anywhere (keyword: RDP).
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: AC4xBrowse
Otto,
What text do you select for Autocode to show a tGet and his data ?
I could use :
Get
Say
Folderex
Dialog
Window
Xbrowse (we know)
What text do you select for Autocode to show a tGet and his data ?
I could use :
Get
Say
Folderex
Dialog
Window
Xbrowse (we know)
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
Re: AC4xBrowse
Hello Marc,
here some screenshots:
Best regards,
Otto
here some screenshots:
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: AC4xBrowse
Otto,
Ok, but what text in the code you must select in order to get this data ?
@ 05, 05 SAY "Document" SIZE 150, 20 OF oFld2:aDialogs[FOLDERDOC_INFO] PIXEL FONT oBoldLarge COLORS CLR_BLUE, CLR_WHITE TRANSPARENT UPDATE
@ 05, 55 get oDoc VAR h_ingeven["DOCNUMMER"] SIZE 35,14 PIXEL OF oFld2:aDialogs[FOLDERDOC_INFO] ;
valid(zoekdoc(oDlg,oFld2:aDialogs[FOLDERDOC_INFO],h_ingeven["DOCNUMMER"],oFld:SetOption( 2 ) )) UPDATE
If I past anything, it will not work.
It works with xBrowser, but there you take a part of the code :
WITH OBJECT oBrw[ 2 ]
//:bKeyDown := {| k | IF ( K == VK_DELETE, Del_row( oBrw[ 2 ] ), NIL ) }
WITH OBJECT:ak_start
:nEditType := EDIT_DATE
:bClrSel := { || { CLR_BLACK, CLR_HGRAY }}
ENDWITH
WITH OBJECT :Prijs1
:nDataStrAlign := AL_CENTER
:SetProgBar( 100,500, { || { MY_GREEN, CLR_WHITE } } ) // Saples in FW
:cEditPicture := "999.99 %"
//:bClrSel := :bClrSelFocus := oBrw:bClrStd
END
END
Ok, but what text in the code you must select in order to get this data ?
@ 05, 05 SAY "Document" SIZE 150, 20 OF oFld2:aDialogs[FOLDERDOC_INFO] PIXEL FONT oBoldLarge COLORS CLR_BLUE, CLR_WHITE TRANSPARENT UPDATE
@ 05, 55 get oDoc VAR h_ingeven["DOCNUMMER"] SIZE 35,14 PIXEL OF oFld2:aDialogs[FOLDERDOC_INFO] ;
valid(zoekdoc(oDlg,oFld2:aDialogs[FOLDERDOC_INFO],h_ingeven["DOCNUMMER"],oFld:SetOption( 2 ) )) UPDATE
If I past anything, it will not work.
It works with xBrowser, but there you take a part of the code :
WITH OBJECT oBrw[ 2 ]
//:bKeyDown := {| k | IF ( K == VK_DELETE, Del_row( oBrw[ 2 ] ), NIL ) }
WITH OBJECT:ak_start
:nEditType := EDIT_DATE
:bClrSel := { || { CLR_BLACK, CLR_HGRAY }}
ENDWITH
WITH OBJECT :Prijs1
:nDataStrAlign := AL_CENTER
:SetProgBar( 100,500, { || { MY_GREEN, CLR_WHITE } } ) // Saples in FW
:cEditPicture := "999.99 %"
//:bClrSel := :bClrSelFocus := oBrw:bClrStd
END
END
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
Re: AC4xBrowse
Hello Marc,
like this:
Best regards,
Otto
like this:
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: AC4xBrowse
Then I have a older version, because this is not working here with the code selected like you do.
I get nothing
Version = 12/08/2020 : 4.007.424
I get nothing
Version = 12/08/2020 : 4.007.424
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
Re: AC4xBrowse
Hello Marc,
How Autocode Works. Here are the main points of how the process works:
**Conversion of preprocessor directives into source code:**
The Harbour compiler handles this task. It translates `#xcommand` directives such as `@ <nRow>, <nCol> BUTTONBMP ...` into executable source code (e.g., `TButtonBmp():New(...)`).
This happens automatically through the PPO file (Preprocessor Output), which shows the resulting source code.
**Reverse translation through Autocode:**
Autocode reads the generated source code from the PPO file.
It converts this source code back into the original directive (e.g., `@ <nRow>, <nCol> BUTTONBMP ...`), extracting the parameter and variable values.
For this, the mapping structure (`M->acd5_params`) is used, which defines how the individual parameters are interpreted and represented in the code.
---
I think it is now possible to automatically generate the mapping blocks using ChatGPT. At least with the blocks I tested, it works.
It would now also be possible to create mapping blocks for the redefine blocks.
However, since there is no interest in Autocode, and I do not work with resources myself and therefore do not need it, mappings are not included in the current `ACD5.ch`.
Best regards,
Otto
How Autocode Works. Here are the main points of how the process works:
**Conversion of preprocessor directives into source code:**
The Harbour compiler handles this task. It translates `#xcommand` directives such as `@ <nRow>, <nCol> BUTTONBMP ...` into executable source code (e.g., `TButtonBmp():New(...)`).
This happens automatically through the PPO file (Preprocessor Output), which shows the resulting source code.
**Reverse translation through Autocode:**
Autocode reads the generated source code from the PPO file.
It converts this source code back into the original directive (e.g., `@ <nRow>, <nCol> BUTTONBMP ...`), extracting the parameter and variable values.
For this, the mapping structure (`M->acd5_params`) is used, which defines how the individual parameters are interpreted and represented in the code.
---
I think it is now possible to automatically generate the mapping blocks using ChatGPT. At least with the blocks I tested, it works.
It would now also be possible to create mapping blocks for the redefine blocks.
However, since there is no interest in Autocode, and I do not work with resources myself and therefore do not need it, mappings are not included in the current `ACD5.ch`.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************