Seite 1 von 1

dBase Stil Editor - autocode5

Verfasst: Do, 16. Feb 2012 10:32
von azzo
Hallo,
Ich arbeite nach längerer Zeit wieder an einer Eingabehilfe zum „dbase Stil“ Programmieren.
Der Ansatz ist, dass ich ein dBase Statement im Quellcode markiere ins Clipboard übertrage und dann mit Hilfe der Clipper.exe bzw. harbour.exe kompiliere. Ich verwende das PPO - CA Clipper preprocessor output file öffnen einen Dialog und kann dort die gewünschten Einstellungen geführt vornehmen.
Der Code wird dann gemäß include-file wieder formatiert ins Clipboard zurückgegeben.

Mfg
Otto

Link zu einem Video:
http://www.atzwanger-software.com/fw/au ... hme-4.html

Re: dBase Stil Editor - autocode5

Verfasst: Fr, 17. Feb 2012 3:41
von AUGE_OHR
azzo hat geschrieben:Ich arbeite nach längerer Zeit wieder an einer Eingabehilfe zum „dbase Stil“ Programmieren.
Link zu einem Video:
http://www.atzwanger-software.com/fw/au ... hme-4.html
WOW das sieht ja interessant aus.
nun hast du aber Fivewin Code ... willst du damit in Richtung Xbase++ auch was machen ?

Re: dBase Stil Editor - autocode5

Verfasst: Mo, 05. Mär 2012 13:22
von azzo
Hallo Jimmy,
man kann nun schon ganz gut mit dem Editor arbeiten.
mfg
Otto

Demo
http://www.atzwanger-software.com/fw/ACD5.zip


Video
http://www.atzwanger-software.com/fw/au ... code2.html

Bild

Re: dBase Stil Editor - autocode5

Verfasst: Di, 24. Apr 2012 10:36
von azzo
Hallo Jimmy,
kannst du bitte mit der neuen Version für mich folgendes testen:
wird OOP Syntax von xBase richtig erkannt?

Update
http://www.atzwanger-software.com/fw/ACD5DEMO.Zip

Danke.
Gruß
Otto



Revised AutoCode:

Enhancement:
Implemented Mr Froze's requirement.
examples : oDlg := TDialog():New( ..... ). etc/

This functionality is intended to work for all translates contained in all the *.ch files in the \fwh\include folder. The internal logic is directly derived from the *.ch files of FWH

Number of such functions are too many and therefore they are not available in the combobox. Only way is to paste some sample code.

Best regards,
Otto

Otto,

Autocode is very useful for me, I'll integrate it in my workflow from now on.

Even though it's working without crash, this error comes up: c:\fwh\include\Objects.ch(5) Error F0029 Can't open #include file 'hbclass.ch'

And I have two wishes:
- Can you save the position and the dimensions of the dialogs and also the state of the browse, e.g. in an ini file, so you can restore it for the next start
- I also use the class syntax, perhaps it is possible to add it, doing something like this:

Input:Code: Select all Expand view
oCbx := TComboBox():New( p1, p2, { | u | If( PCount() == 0, p8, p8 := u ) }, p7, , , oDlg, , , , 0, 16777215, .T., oFont_default, , .F., , .F., , , , , )

Output:Code: Select all Expand view
oCbx := TComboBox():New( ;
p1, ; // nRow
p2, ; // nCol
{ | u | If( PCount() == 0, p8, p8 := u ) }, ; // bSetGet
p7, ; // aItems
, ; // nWidth
, ; // nHeight
oDlg, ; // oWnd
, ; // nHelpId
, ; // bChange
, ; // bValid
CLR_BLACK, ; // nClrText
CLR_WHITE, ; // nClrBack
.T., ; // lPixel
oFont_default, ; // oFont
, ; // cMsg
.F., ; // LUpdate
, ; // bWhen
.F., ; // lDesign
, ; // acBitmaps
, ; // bDrawItem
, ; // nStyle
, ; // cPict
) // bEChange

Re: dBase Stil Editor - autocode5

Verfasst: Mi, 13. Jul 2016 9:09
von azzo
Hallo Jimmy,

In der Zwischenzeit ist Autocode open source.
Ich glaube Autocode könnet auch für xBase gute Dienste leisten.
Kannst du es vielleicht nochmals testen.

Man muss nur das acd5.ch File anpassen.
https://code.google.com/archive/p/fivew ... ads?page=3
ACD.ZIP

ACD is working with any editor.
ACD is a Two-Way-Tool allowing developer/user to edit code programmatically as well as visually
What’s more important is anybody should be able to make the code with ACD correctly without errors ( it should also give help and guidance to the user )
What is autocode for:

http://www.atzwanger-software.com/fw/au ... code2.html

Mit lieben Grüßen,
Otto