Forum: Object-Pascal / Delphi-Language
Delphi
by p80286,
3. Nov 2015
:oops:Mann ist das lange her das ich das genutzt habe:oops:
Gruß
K-H
Forum: Object-Pascal / Delphi-Language
Delphi
by p80286,
3. Nov 2015
Also Gut, nehmen wir mal an, daß wirklich nur der Startpfad übergeben wird.
startpfad:='';
for i:=1 to paramcount do
startpfad:=startpfad+' '+paramstr;
if (length(startpfad)>0) and (startpfad='"') then
delete(startpfad,1,1);
if (length(startpfad)>0) and (startpfad='"') then
delete(startpfad,length(startpfad),1);
so ungefähr sollte es funktionieren.
Forum: Object-Pascal / Delphi-Language
Delphi
by p80286,
3. Nov 2015
Naja je nach Delphi Version ist das nicht mehr als ein Hinweis, daß es sich nicht um 2 oder mehr Parameter handelt sondern um einen, da ist dann schon der Programmierer gefragt.
Gruß
K-H
Forum: Object-Pascal / Delphi-Language
Delphi
by p80286,
21. Okt 2015
bloß nicht!
readln(eingabe);
if eingabe = '/?' then
funktioniert zwar, aber ob es das ist was gewollt ist?
Gruß
K-H