English
Forum

IncToPh ?

 

Nico
Madysa
yesterday coming me this ideas, The 16-jährige get, as they to the Schillerstraße with a half-way Kilo Erdnüsse stuffed are and subsequently yet at a inc ertwas good-night-program. I had a Header-File and my inc at the same time open and there coming me suddenly a Vision:
Includes as Header...
How Jac and eachone others, the Includes for others writes/write wants, have too I me The question set: becomes it somebody give, the ALLE functions/Procedures/Ähnliches of my INC uses?
and How any others too have I me these question with a Ähhh, nö. answers.
and of these thoughts fell me the achso angepriesene benefit of Headern one:
tappt im dunkeln fügen only one, what too is used. 
I setting whom train of thoughts yet moreover away, and would like here and now something to Discussion to put:
is it possible and/or erwünscht, Includes in Header umzuwandeln?
important is for (faith I) The Possibility, several Commands in a row write to.
here an example to that understanding:
the here becomes the Header Test.ph:
CompileMarkSeparation
The tex´st.ph comes into Include-Ordner Test Dll.
then komt testinctoph.prf:
CompileMarkSeparation
so, I hope, here come many opinions and Proposals together.

Greeting Nico
 
Nico Madysa
11/10/06  
 




Frank
Abbing
Andreas Miethe has two Tools made, circa Incs and Phs directly a Dll to create. The Tools are somewhere on its Page to find, or in the XPIA-pkg undter Tools.
 
11/10/06  
 



@Frank: It's all right it IMHO circa what completely other!
 
11/10/06  
 




Frank
Abbing
David IMHO Strutz alias iF: Oh, Yes well. ought to well still gründlicher reading.
 
11/10/06  
 




Jac
de
Lad
well, i don't know...of command through separated stops I likewise little, How several command through : verkettet. and what to the benefit his, if I the by Header make, instead of a procedure/function of/ one Inc aufzurufen???
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/10/06  
 




Nico
Madysa
Lies you whom kursiven part the first Postings through.
it'll only the into finished View source transfer, what objectively is used.
Would Perhaps too take off The controls.inc .
not eachone uses any Controls, and there initialized one by Header-appeal only The, everybody can really wants.
there make You z.B. any Procedures To ProgressBars in a Line and the definierst You then for may part as init_progressbars
And if then someone progressbars use wants, must it not yet CustomListBoxen, TrackBars and schieß-me-dead-what-yet integrate separate calls in its Program somewhere simply on:
~init_progressbars

And then has it in its Program solely The ProgressBar-Procedures.

capisce?
 
Nico Madysa
11/10/06  
 




Jac
de
Lad
Aso, this is naturally again plenty interessanter...hm, is ne Überlegung worth...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/10/06  
 




Nico
Madysa
Argh, trouble!!
How it shining, there a yet unbemerkten bow with Headern.
it sees so from, as though Profan slight confused does, if in the einzusetzenden Text one = vorkommt, z.B.
CompileMarkSeparation
proc_IntToStruct = proc IntToStruct:parameters s#,i%:Word s#,0 = i%:endproc;
proc_dgbBox = proc dbgBox:parameters text$:MessageBox(text$,"Debug-Meldung",4144):endproc
e>

If then thereafter another Definition comes, shining it To creak.
it recognize ~proc_dbgBox not any more
 
Nico Madysa
11/10/06  
 




Jac
de
Lad
2 Problems:

1. How commit You Parameter?
2. The Header definition becomes always reinkopiert, the could very large programs to follow having...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/11/06  
 




Nico
Madysa
No, You calls The pair How normal Procedures on, since the from the Header only reinkopiert go.
everything functions How normal Incs, with the Difference, that one The Procs, everybody can benefit wants name must
(How supra in the example ~proc_dbgBox ). therefore becomes only the reinkopiert, what too is used. Nix moreover.
Höchstens, that Interpreten Perhaps something longer lasts, because Profan.exe first in the Header look over must (once per genutzte procedure).
but What is with the =-trouble? might Roland or one another something resolution operate? usually goes the einzusetzende Text still up to one Semikolon, or?
 
Nico Madysa
11/14/06  
 




Michael
Wodrich
integrally simply:

here becomes probably SubStr$ using. Separator is the Gleichheitszeichen.
Substr$(headerzeile$,1,=) yields The Kennung (linker part)
Substr$(headerzeile$,2,=) yields whom remainder (right part)
(if no further = vorkommt)

I can me incidentally not your idea make friends, then I will rather The DEF functions keep!!!
(Bandwurm-Procedures - who should The because cherish?)

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
11/15/06  
 




Torsten
Rümker
the whole has but already its Interessanten pages How I find.

momentarily have I it z.b. so that I a functions.inc have in the so quite everything on Schnipseln (ups Proceduren) drin is the I often use.
If I then so far be, that I my now is my Program ready, catch I a new Inc to create in the hold only The objectively required functions drin are.
the would then with Nicos einfall naturally wegfallen, there with of/ one Header File Yes only genommmen becomes what too used becomes.
MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
11/15/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.527 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie