| |
|
|
Nico Madysa | since geraumer Time verfügt (X)Profan over The Mächtigkeit, Header-Files use can To want. latest week wrote I to that first time a Header. and me fell on, I here in the Community yet yet nothing over Header red having. and there set itself me The question, The I now you place:
How often go Header using, and if, How important/useful/calm are you?
I hope naturally not only on Abstimmungen, separate on further Posts. |
|
|
| |
|
|
|
| The Compilierung lasts of course longer, but before I me The Konstanten and Structuren any zusammensuche and yourself Eintrage rather ne Header-File |
|
|
| |
|
|
|
Nico Müller | can someone say what header are? |
|
|
| WinXP, 2200MHz, 256MBRAM, Nvidia Geforce4 MX 440 with AGP8x, Profan8.0a | Das ist Matschaugeneule. Kopiere Matschaugeneule in deine Signatur und hilf ihr so auf ihrem Weg zur Weltherrschaft. Gegen Hase |
| 04/29/06 ▲ |
|
|
|
|
Rolf Koch | Hi be time integrally impudent and copy here simply whom cut offed Header from the Profanhilfe hierhin [box:cb4201f111] $H <Dateiname>
who C knows, knows too The Header-Files, there üblicherweise with the Endung .h. One ähnliches concept watts now too in XProfan verwirklicht, here with the Endung .ph. around the Headerdatei(en) anzugeben, The in the program used go, uses one The Direktive $H:
$H windows.ph
The XProfan-Header-Files (*.ph) go there sought, where too The Include Files sought go. The attitude the Includepfades counts too for Header.
The Header-Files are nothing other as Übersetzungstabellen. defined expressions in the Programmtext, The there through one ~ marked are, go through others of Precompiler at reading the Program by the Interpreter or. Compiler supplant. On these point can z.B. The numerous Konstanten, Strukturdefinitionen and API-Aufrufe in the Headerdatei described go. Each row the Headerdatei has to the Gleicheitszeichen whom String the supplant go should and thereafter until last Semikolon the row whom XProfan-expression, by the it supplant becomes.
as example one Headerdateiauszug from WINDOWS.PH:
Konstanten for ShowWindow
SW_HIDE = 0; SW_SHOWNORMAL = 1; SW_NORMAL = ~SW_SHOWNORMAL; old shape SW_SHOWMINIMIZED = 2; SW_SHOWMAXIMIZED = 3; SW_MAXIMIZE = ~SWSHOWMAXIMIZED; SW_SHOWNOACTIVATE = 4; SW_SHOW = 5; SW_MINIMIZE = 6; SW_SHOWMINNOACTIVE = 7; SW_SHOWNA = 8; SW_RESTORE = 9;
SW_SHOWDEFAULT = $0A; SW_MAX = $0A;
ShowWindow( = External(user32.dll,ShowWindow,;
comments go - How in XProfan self - through one marked, the REM isn't allows. what between Gleichheitszeichen and the last Semikolon standing, must in XProfan interpretierbar his. it can though against Erseztzungsausdrücke, marked by the ~, vorkommen.
the dazugehörige XProfan-Program could then How follows looks:
$H windows.ph
Cls ~ShowWindow(%hWnd, ~SW_MAXIMIZE)
likewise can Strukturdefinitionen in a Headerdatei untergebracht go:
RECT = Top&,Left&,Right&,Bottom&;
in the Program could then stand:
Declare rectangle# Struct TRECT = ~RECT Dim rectangle#,TRECT
With rectangle# .Top& = 10 .Left& = 120 .Right& = 35 .Bottom& = 100
EndWith
herewith are The Opportunities the Header-Files only ansatzweise implied! an Umsetzung the File WINDOWS.PAS from Delphi with almost all Definitionen the Windowskonstanten and -functions lying with. likewise some others Header-Files with Messages, Structures, etc. If these Files eingebunden are, becomes The Use the windows-API vastly vereinfacht. but too outside the Use stranger DLLs yield itself numerous Opportunities.
alas Yes: The benefit the Headerdatei to of/ one Includedatei with Konstanten and DEFs? The Includedatei becomes always complete mitkompiliert and vergrößert the finished Program. The Headerdatei diving in the Compilations ÜBERHAUPT NOT on. any Ersetzungen go at Compilieren directly undertaken. the might itself too very positively on The Ausführungsgeschwindigkeit work out. For this lasts the started in the interpreter mode and the Compilieren something longer.
Info: The in a structure verwendeten Variablentypen go through your Postfix, similar the XProfan-variables marked. % standing for a 2-byte-Variable (Word), & standing for a 4-byte-Variable (Long), # standing for a arbitrary Size, The in clinging indicated becomes, and $ for a String-Variable. Particulars see here!
Info: the H must big written his! [/box:cb4201f111] |
|
|
| |
|
|
|
Dietmar Horn | @Nico: Header-Files can You derzeitig not yet benefit, because it these first ex XProfan gives.
Greeting Dietmar |
|
|
| Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 04/29/06 ▲ |
|
|
|
|
| [quote:87c9c69a28=Dietmar horn]@Nico: Header-Files can You derzeitig not yet benefit, because it these first ex XProfan gives.
Greeting Dietmar[/quote:87c9c69a28]Header-Files Gibts IMHO since Profan 7.0 |
|
|
| |
|
|
|
RGH | [quote:1feedfd659=TS-Soft][quote:1feedfd659=Dietmar horn]@Nico: Header-Files can You derzeitig not yet benefit, because it these first ex XProfan gives.
Greeting Dietmar[/quote:1feedfd659]Header-Files Gibts IMHO since Profan 7.0 [/quote:1feedfd659] Very correctly.: Header-Files get with Profan 7.0 introduced!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 04/29/06 ▲ |
|
|
|
|
Dietmar Horn | is nevertheless yet nothing for Nico, because we in the basic course with Profan 6.6 works.
it be because, Roland allows me, prospective in the course a höhere Version use To can ...
Greeting Dietmar |
|
|
| Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 04/29/06 ▲ |
|
|
|
|
RGH | [quote:c87f38b585=Dietmar horn]is nevertheless yet nothing for Nico, because we in the basic course with Profan 6.6 works.
it be because, Roland allows me, prospective in the course a höhere Version use To can ...
Greeting Dietmar[/quote:c87f38b585] Hm, above could one diskutieren ... Schreib me time ne Mail
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 04/29/06 ▲ |
|
|
|
|
Nico Müller | I can whom Header on the a as well as on the others not benefit, want me even only time kundig make. now be I at least something schlauer. |
|
|
| WinXP, 2200MHz, 256MBRAM, Nvidia Geforce4 MX 440 with AGP8x, Profan8.0a | Das ist Matschaugeneule. Kopiere Matschaugeneule in deine Signatur und hilf ihr so auf ihrem Weg zur Weltherrschaft. Gegen Hase |
| 04/30/06 ▲ |
|
|
|
|
Dietmar Horn | [box:47dc59803a]I can whom Header on the a as well as on the others not benefit[/box:47dc59803a] must something like my klitzekleinen, nicotine-verkalkten and uralten Uhu-Hörnchen-Gehirnzellen really yet kapieren can?
Kannste me dbzgl. to coming friday possible clarify???
thanks beforehand!
Greeting Dietmar |
|
|
| Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 04/30/06 ▲ |
|
|
|
|
|
Header-Files are too only Humans Dietmar! |
|
|
| |
|
|