| |
|
|
- Page 1 - |
|
RGH | Dietmar horn
$ GetDir. can me Perhaps time someone try To explain, whom sense this commands at all yet has? of my opinion to ought to the commands abgeschafft and intern through $PROGDIR supplant go
Dass just You for abolition one Befehles votierst ...
then müssten all those people to guitar grab, The these function for the use, for the tappt im dunkeln virtual is, namely the straight actually Arbeitsverzeichnis To detect.
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 | 02/05/08 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
RGH | To GetDir$(): myself have for me some Utilities written, The GetDir$() to investigation the current Pfades using. then can I namely one and the same Exe-File in unterschiedlichen Arbeitsverzeichnisen with unterschiedlichen Konfigurationsdateien Call. to $PROGDIR could one with Par$(0) whom names incl. way (!) the performed Exe-File detect and having so, if to the Result around the Filenames reduced, the same Result How with $PROGDIR. (Related to the Par$(0) stood even time in the Help, watts but with introduction of $PROGDIR again herausgenommen.)
an Kenntnis the grundlegenden terms How News directory, Programmverzeichnis, Arbeitsverzeichnis etc. would I though already to the first usage of/ one Programming-Language vorraussetzen. (Sorry, meanwhile hot The pair Yes not any more directories, separate Ordner.)
i want naturally not defray, that The Help on the a or others place yet vorbesserungsfähig would. and its sure too so, that The Help sooner only beschreibend is, and no didaktisch strukturiertes Lehbuch. But if someone additional Texts or quite chapter mail, The it gladly in the Help see would: always since so. you have z.B. what Didaktik concerns as langjähriger teacher the Naturwissenschaften me to sure a large Vorsprung. I could me z.B. thoroughly to the jetzigen course 1 yet a short course 0 present, the in a einstelligen Kursteil-amount such general Computerkenntnisse auffrischt.
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 | 02/06/08 ▲ |
|
|
|
|
Frank Abbing | GetDir$ = API GetCurrentDirectory() $PROGDIR = API GetModuleFileName() - GetFileTitle() |
|
|
| |
|
|
|
Sebastian König | The Idea with the course 0, in the important terms explains go, find I well!
to the GetDir$(): I must admit, I into example-Codes to SKControl.DLL too GetDir$(@) use, circa a absoluten Path to whom verwendeten graphic-Files detect. naturally does it only such a long time well, How the actually Arbeitsverzeichnis the program through nothing changed watts (see Franks Posting, the The verwendeten API-functions name). Dietmar has this already addressed: [...]
The benefit on GetDir$(@) is of my opinion to, that it - under whom obigen Voraussetzungen - sowohl in the Interpreter as well as compiled or. as EXE the same Result supply, what with Par$(0) and $PROGDIR natural not the case is... for example-Codes is it therefore integrally useful. on the other hand is the standard-Suchpfad in windows anyhow in the rule the actually Arbeitsverzeichnis, so the GetDir$(@) + file$ well in the rule superfluously (and unnecessary risky) is. my Codes I will properly Change.
for a größeres proposition is naturally $PROGDIR the means the electoral! only must one then for Start the Codes in the Interpreter-mode möglicherweise a Weiche the shape CompileMarkSeparation install...
Perhaps would it as Why stay for future versions integrally useful, if $PROGDIR in the Interpreter-mode simply the directory the launched .prf-File supplying would. i think, The so introduced Inkompatibilität would well tenable, there itself $PROGDIR momentarily in the Interpreter-mode anyhow not meaningfully bring into action can - for which Program is it already important, in welchem directory The PROFAN.EXE lying?
MfG
Sebastian
P.s.: best ought to one The Thread again divide - I try me time on it. has functions. |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 02/06/08 ▲ |
|
|
|
|
RGH | Sebastian king
P.s.: best ought to one The Thread again divide - I try me time on it. has functions.
short Zwischenbemerkung to that Thread-divide: I find it oftmals problematically, that one none Link to that Ursprungsthread has and manches in the first item the now new Threads without which Kenntnis unverständlich remaining. i'd me wish, that in the first item one zoned Threads one Info and Link to that Ursprungsthread (letztes Posting to Teilung) generiert and is in the in the last Posting to the Teilung the Ursprungsthread one Link here GEHTS moreover (or so similar).
to Anpassung of $PROGDIR in the interpreter mode: thought have so did i already above. one should though then stringenter point too yet whom drop respect, if a .prc-File in the IDE with the runtime launched becomes. here would one itself naturally too whom way the .prc-File wish. but: two Listviews $PROGDIR give back, if I z.B. in a application further .prc-Files as Module aufrufe? The aufrufende EXE or whom way the .prc-File? there but this drop technical the same is, How the Start by Doppelpfeil in XProfed (compileren and Start the .prc by Runtime), can not distinguished go. it rewards itself means, here in detail to think
Greeting Roland (useful have I the trouble z.B. in the XProfed-Source too so like from you described with Compilerschalter resolved.) |
|
|
| 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 | 02/06/08 ▲ |
|
|
|
|
RGH | Sebastian king
The Idea with the course 0, in the important terms explains go, find I well!
who (on the best with didaktischer experience) feel appeal, derartiges in possible few and short Kapiteln treffsicher To provide? always only since so.
Greeting Roland (has of course already books To Computern and to that program written, but definitiv no Lehrbücher) |
|
|
| 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 | 02/06/08 ▲ |
|
|
|
|
Jörg Sellmeyer | Sebastian king
for a größeres proposition is naturally $PROGDIR the means the electoral! only must one then for Start the Codes in the Interpreter-mode möglicherweise a Weiche the shape
CompileMarkSeparation |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/06/08 ▲ |
|
|
|
|
Jac de Lad | the could Problems bound, if one The prf in a Ordner has, the whom equal names as prf carry: Catei.prfDatei.prf (on itself unwahrscheinlich, but possible). CompileMarkSeparation |
|
|
| 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 | 02/06/08 ▲ |
|
|
|
|
Michael Dell | Hi,
means I persöhnlich use GetDir$() right often and gladly, worse yet because I Games too right well guitar. |
|
|
| Salu Michael...
Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! | 02/06/08 ▲ |
|
|
|
|
Sebastian König | RGH
short Zwischenbemerkung to that Thread-divide: I find it oftmals problematically, that one none Link to that Ursprungsthread has and manches in the first item the now new Threads without which Kenntnis unverständlich remaining. i'd me wish, that in the first item one zoned Threads one Info and Link to that Ursprungsthread (letztes Posting to Teilung) generiert and is in the in the last Posting to the Teilung the Ursprungsthread one Link here GEHTS moreover (or so similar). the would find so did i well! I have straight manually a Info on this Thread into middle-aged eingefügt. @iF: How siehts with of/ one automatischen Solution from?
RGH
to Anpassung of $PROGDIR in the interpreter mode: thought have so did i already above. one should though then stringenter point too yet whom drop respect, if a .prc-File in the IDE with the runtime launched becomes. here would one itself naturally too whom way the .prc-File wish. but: two Listviews $PROGDIR give back, if I z.B. in a application further .prc-Files as Module aufrufe? The aufrufende EXE or whom way the .prc-File? there but this drop technical the same is, How the Start by Doppelpfeil in XProfed (compileren and Start the .prc by Runtime), can not distinguished go. it rewards itself means, here in detail to think
OK, is correct - my suggestion was not far enough virtual... means for appeal Another .prc-Files would I suggest, that $PROGDIR in this then whom way the jeweiligen .prc-File include ought to, because it deals are in the principle Yes circa eigenständige programs (it'll still one eigener Process created, or?).
means altogether:
1. in the Interpreter: $ProfDir = way to .prf-File 2. at that appeal prfrun32.exe code.prc: $PROGDIR = way(code.prc) 3. in the complete gelinkten Program naturally How yet
How are The opinions moreover? and on Roland: would be it tricky, the To release?
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 02/06/08 ▲ |
|
|
|
|
| @Sebastian: >>@iF: How siehts with of/ one automatischen Solution from? Todoeintrag laid out. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Jörg Sellmeyer |
1. in the Interpreter: $ProfDir = way to .prf-File 2. at that appeal prfrun32.exe code.prc: $PROGDIR = way(code.prc) 3. in the complete gelinkten Program naturally How yet
in the momentum would me no vernünftiges Szenario to occur, the against it spräche. I make it always so: CompileMarkSeparation in the finished Program a row rauszuschmeißen is then neither More the nude. on the other hand is a automatic Solution naturally neither To despise. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/06/08 ▲ |
|
|
|
|
Frank Abbing | suggestions for course 0:
[web]https://www.educat.hu-Berlin.de/mv/grundkenntnisse_pc.html[/web] [web]https://www.urz.uni-heidelberg.de/Training/Unterlagen/internet/sbkurs/pc-einf/pc-einf.shtml[/web] [web]https://www.virtualuniversity.ch/ecdl/einfuehrung/1.html[/web] |
|
|
| |
|
|