English
Opportunities and suggestions

wish: homogeneous Parameter-treatment in Exe / Interpreter

 

E.T.
yet isses Yes so:


Interpreter:
Profan <name.prf> <par2> <par3> ...

EXE file:
<name.exe> <par1> <par2> <par3> ...


here would I me "Gleichbehandlung" wish,so the one übergebener Parameter in Interpreter <par1> is, means <name.prf> Interpreter-intern z.B. as <par0> processing would. I (and certainly not only I) stolpere over ands over again above, the one Prog in the Interpreter-mode correctly runs, as Exe but then The Parameter verwürfelt  (or inverse).
Why ??
I (others too ??) think then mostly first not any more drann, @Par$(2)  to @Par$(1)  as well as The Parameter-treatment (If %ParCount ...) umzuschreiben (@IF: Smilies ?? [...]  scheind not always To funzen).
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/02/10  
 




Jörg
Sellmeyer
but as what should then The Exe determined go? Par$(-1)? there sträuben itself me The Nackenhaare. Also can indeed a prc-File as first Parameter having. what then?
For this there still in the meantime The Präcompiler-request:
$IFDEF INTERPRETER
...Parameterabfrage
$ENDIF

$IFDEF COMPILER
...Parameterabfrage
$ENDIF
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/03/10  
 




E.T.
'Tschuldigung, that I demand have !!
Nutzt indeed eachone and always Precompiler....

[OFFTOPIC]...[/OFFTOPIC]
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/03/10  
 




Uwe
''Pascal''
Niemeier
Hi people!

my Tipp:
The Systemvariable %ProgEnd inquire. becomes the dazugehörige commands ProgEnd not  uses, is these Variable with process of/ one PRF = -1, with PRC and EXE = Filesize (in letzteren both Make ought to itself then well one klarer Difference check let).
so can itself experienced, in welchem mode the program carryed out becomes, circa Parameter correctly To interpret

PS: with the Compiler-Direktiven have so did i yet never worked...

SeeYou
Pascal
 
11/03/10  
 




RGH
E.T. (03.11.10)
'Tschuldigung, that I demand have !!
Nutzt indeed eachone and always Precompiler....

[OFFTOPIC]...[/OFFTOPIC]




Hi,
here goes it around the Compiler-Direktiven the integrierten Präkompilers. These Parametergeschichte was of/ one the Reasons, tappt im dunkeln einzuführen.
from Kompatibilitätsgründen I will on Par$() nothing more Change. Very many XProfan (and myself) benefit Profan-programs with Parameters teils as uncompiliertes Script. teils as compiliertes Script and then naturally too Exe-Files.
I give though To, that these Par$()-story to the (many) Things in XProfan heard, The I differently make would, could I The Time circa 18 years turn back.

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
11/03/10  
 




Jörg
Sellmeyer

I give though To, that these Par$()-story to the (many) Things in XProfan heard, The I differently make would, could I The Time circa 18 years turn back.


Gib still time a couple Examples and your ideas to Änderung. Perhaps is the wish to Abwärtskompatibilität Yes small, as the want, evtl. effective to program...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/03/10  
 




RGH
already smaller ones Kompatibilitätsprobleme having in diversen Forums To great Aufschrei and long, angry Postings led!
what about me white neither, whether I really The watch circa 18 years turn back and everything once more new make would like ... ;)

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
11/03/10  
 



RGH (03.11.10)
already smaller ones Kompatibilitätsprobleme having in diversen Forums To great Aufschrei and long, angry Postings led!


Perhaps. the attention on The others 99% richten.

RGH (03.11.10)
what about me white neither, whether I really The watch circa 18 years turn back and everything once more new make would like


well How I it understood have building You still "die Fehler" the last 18 years in each new version again one because of "zu great Aufschrei and long, angry Postings".
 
11/03/10  
 




Jörg
Sellmeyer
Diesen Thread for newer versions Please absolutely in the eye keep!!!


Gib still time a couple Examples and your ideas to Änderung. Perhaps is the wish to Abwärtskompatibilität Yes small, as the want, evtl. effective to program...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/04/11  
 




RGH
now, one frühes example is %GetCount:

instead of, How the name suppose can, The Number of Entries into Listboxliste wiederzugeben, there The number the highest Elements back. there the first element whom index 0 has, gives means %GetCount one More as The amount back.

as these Ungereimtheit auffiel, was however To plenty Time in that country gone, circa it simply To correct. several gewerbliche users had already more projects on the walk and made plenty Gerauch from the Listboxliste (Arrays there were then not yet). means fitting I to Rücksprache The Help properly on, I otherwise To many Humans Extra-work and/or Extra-cost aufbürden would.

this is too an example for a Ungereimtheit, The meanwhile with beibehaltener compatibility korrigiert watts:

meanwhile (vollends since X2) becomes The Listboxliste as an normal Stringliste with the lever 0 treats, so that The newer function GetCount() objectively the expected Result supply and the missverständliche %GetCount counts to the veraltetn Funktionalitäten, from Kompatibilitätsgründen still function.

Greeting
Roland
 
XProfan X2
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
11/04/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.290 Views

Untitledvor 0 min.
Sven Bader09/06/21
Jörg Sellmeyer05/28/20
mein05/19/13
RudiB.11/08/12
More...

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