| |
|
|
- Page 1 - |
|
![iF: 07/28/08](.././../../i/a/1.gif) | Sebastian should what behind CaseOfAnweisungen standing in functions umlenken... Aufwandsfrage ![](.././../../i/s/-smile.png) |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
![Jac de Lad: 07/28/08](.././../../i/a/137932442848a87713b50bf.gif) Jac de Lad | however, now GEHTS anyway. If I sincere be, the "Var"-commands is me anyhow suspekt. The variables should at the beginning the program or. the Proc declariert and be Schluss. |
|
|
| 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 | 07/28/08 ▲ |
|
|
|
|
![Sebastian König: 07/28/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | iF
Ehhh, glatter prf2cpp-bow. ![](.././../../i/s/__upl_ext_1100084240.gif) within CaseOf-Blöcken no Variablendeklarationen not allows? oO The Deklaration is already allows, but to the EndSelect or in another CaseOf-block must then not any more hereon zugegriffen go. In C++ are local variables hold always only actually block validly...
...and others Languages is it at least badly Style! ![](.././../../i/s/__upl_ext_1111498539.gif)
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 07/28/08 ▲ |
|
|
|
|
![iF: 07/28/08](.././../../i/a/1.gif) | memory alloziieren behind endSelect or caseOf-block badly Style? Nunu, the stops I for a ventured testimony there it in XProfan no variables gives with them The variables, which you mean, vergleichbar wären. ![](.././../../i/s/__upl_ext_1111498544.gif)
In XProfan are variables well sooner Speicheraliase - simply fine! here between .data and .code To discern is the, I "gewagt" name. ![](.././../../i/s/__upl_ext_1111498539.gif)
Why erkundest not The Deklarationen before and ziehst tappt im dunkeln "hoch"? |
|
|
| |
|
|
|
![Sebastian König: 07/28/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | iF
Why erkundest not The Deklarationen before and ziehst tappt im dunkeln "hoch"? Something like make I partly, with Procedures, The several Parameters Lines having. but here goes it Yes circa something like How CompileMarkSeparation this code would to that example if Test% weder 1 yet 2 is, a Error Message to Laufzeit produzieren. therefore be I the opinion, that a& and b& in each drop to the Select declared go should. with variables, The each only pub in a the CaseOf-pieces using go, is the naturally something other...
MfG
Sebastian
P.s.: Per Brute-Force GEHTS too now already with Profan2Cpp: simply "Alle variables global deklarieren" enable. ![](.././../../i/s/__upl_ext_1111498557.gif) |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 07/28/08 ▲ |
|
|
|
|
![Jac de Lad: 07/28/08](.././../../i/a/137932442848a87713b50bf.gif) Jac de Lad | [QUOTE_="Sebastian König"][QUOTE_="iF"]..."Alle variables global deklarieren"...[/QUOTE] what not always recommendable is. |
|
|
| 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 | 07/28/08 ▲ |
|
|
|
|
![iF: 07/28/08](.././../../i/a/1.gif) | |
|
| |
|
|
|
![Sebastian König: 07/28/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | iF
The Vars in the Select could still simply fundamentally so "hoch ziehen":
already clear, what you mean, but I likes the whole somehow not. The wiederholten Deklarationen are so too redundant - on the dearest would I only whom Syntax-Check moreover bring, the whole anzumeckern... but what reserves - XProfan allows the whole Yes unfortunately what about me will be me in the a or others shape therefore concern must...
@Jac: Yes, "Alle variables global deklarieren" ought to really only as last way out using go.
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 07/28/08 ▲ |
|
|
|
|
![iF: 07/28/08](.././../../i/a/1.gif) | Sebastian king
The wiederholten Deklarationen are so too redundant - on the dearest would I only whom Syntax-Check moreover bring, the whole anzumeckern...
around the question to the switch to oppression this Message vorzuprogrammieren... ![](.././../../i/s/__upl_ext_1111498539.gif)
some items go but gänzlich you don't say so his there XProfan Yes dank the Runtime Opportunities own, which nunmal a "Runtimeumgebung" need... |
|
|
| |
|
|
|
![Sebastian König: 07/28/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | iF
around the question to the switch to oppression this Message vorzuprogrammieren... at least from you ;). but find You, the with the wiederholten Deklarationen really beautiful?
iF
some items go but gänzlich you don't say so his there XProfan Yes dank the Runtime Opportunities own, which nunmal a "Runtimeumgebung" need...
Yes, in the doing. Set("Escape",...) and Execute wären an example for, where latter indeed in XProfan self only Interpreter functions. still becomes it soon one Plug-In give, the one with for care can, that %ProgEnd a korrekten worth supply. here would my interests, whether the except Jac otherwise yet someone bring into action would... ![](.././../../i/s/__upl_ext_1111498557.gif)
MfG
Sebastian
P.s.: i'll The Thread time splitten - is the automatic add one Hinweises on The Aufteilung really already implementiert? EDIT: evident not - would really useful! |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 07/28/08 ▲ |
|
|
|
|
![iF: 07/28/08](.././../../i/a/1.gif) | Sebastian king
but find You, the with the wiederholten Deklarationen really beautiful?
Wiederholte?
Deklarieren to VAR stops I for a smart decision at program with XProfan.
so ists automatically too "schön", it power Yes sense.
Sebastian king
P.s.: i'll The Thread time splitten - is the automatic add one Hinweises on The Aufteilung really already implementiert? EDIT: evident not - would really useful!
the fetch I to! ![](.././../../i/s/__upl_ext_1100084240.gif) |
|
|
| |
|
|
|
![Sebastian König: 07/28/08](.././../../i/a/95394891549b7cb32600d3.png) Sebastian König | iF
Wiederholte?
Deklarieren to VAR stops I for a smart decision at program with XProfan.
so ists automatically too "schön", it power Yes sense.
with repeatedly my I the Deklarieren the equal variables into diversen CaseOf-Blöcken instead of one Declare to the Select. whom Var-commands on itself stops so did i for a very virtually expansion! |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] ![](/intl/i/lnk.gif) Alte Profan²-Seite: [...] ![](/intl/i/lnk.gif) | 07/28/08 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
![iF: 07/28/08](.././../../i/a/1.gif) | iF
Crazy I, or should one otherwise variables deklarieren, which one Perhaps not needed?
either You irrst or you've got me wrong: me goes it The whole Time only circa such variables, The to the Select-block yet moreover using go. ![](.././../../i/s/__upl_ext_1111498557.gif) |
|
|
| |
|
|