| |
|
|
 Julian Schmidt | Hi,
hope new Zuweisungsoperator. for addition +=. for Substraktion -=. for Multiplikation *=. for Division /=. and to better distinction for Stringverknüpfung .=.
Also ought to one whom Teilungsrest too by % manage can. and the Zuweisungsoperator for Teilungsrest %=.
LG
Julian |
|
|
| |
|
|
|
 RGH | Hm, what should the bring? I see there no advantages, sooner only The chances on less leserlichen code.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/16/13 ▲ |
|
|
|
|
 Julian Schmidt | becomes it therefore really unübersichlicher and unleserlicher? i think its very the contrary the case.
Var hinzhunzundkunz& = 345
Var kunzhinzundhunz& = 123
Var hunzkunzundhinz& = 734
hinzhunzundkunz& = kunzhinzundhunz& + 200
hinzhunzundkunz& = hinzhunzundkunz& + 5
kunzhinzundhunz& = hunzkunzundhinz& + 20
hinzhunzundkunz& = kunzhinzundhunz& + 200
kunzhinzundhunz& = kunzhinzundhunz& + 200
hunzkunzundhinz& = hinzhunzundkunz& + 10
Var hinzhunzundkunz& = 345
Var kunzhinzundhunz& = 123
Var hunzkunzundhinz& = 734
hinzhunzundkunz& = kunzhinzundhunz& + 200
hinzhunzundkunz& += 5
kunzhinzundhunz& = hunzkunzundhinz& + 20
hinzhunzundkunz& = kunzhinzundhunz& + 200
kunzhinzundhunz& += 200
hunzkunzundhinz& = hinzhunzundkunz& + 10
|
|
|
| |
|
|
|
 RGH | leg whom Variablennamen becomes it never clear! 
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/16/13 ▲ |
|
|
|
|
 Julian Schmidt | very! but I need a unleserlichen code, in order to prove the it with Zuweisungsoperatoren leserlicher becomes.
differently around should I prove the Zuweisungsoperatoren a leserlichen code not unleserlicher make. these but tougher To to judge. |
|
|
| |
|
|
|
 E.T. | means what should whom one
to one
hinzhunzundkunz& = hinzhunzundkunz& + 5
bring ??
there see I only The schreibfaulheit the Programmieres supported and the Verwirrung larger go.
Sometime becomes then one
so nested, that this with "sauberer Programmierung" not any more nachvollziebar is.
my opinion: Roland, lass it so, what's it like  |
|
|
| XProfan X2Grüß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... | 07/17/13 ▲ |
|
|
|
|
 Julian Schmidt | In such Cases wish one, the IF something like How Votings in his Forum integrate had.
naturally becomes it through Verschachtelung not rather. but i think with Vergleichsoperatoren is one vlt sooner moreover inclined several Operationen on several Lines To distribute.
|
|
|
| |
|
|
|
 GDL | Hallöle
hinzhunzundkunz& += 5
i'd the on the first look so reading: hinzhunzundkunz&+ "irgendwas" = 5
for me standing behind one = characters the Result of/ one Rechenoperation.
me would it rather, it bliebe as it is. |
|
|
| |
|
|
|
 Jörg Sellmeyer | Well - The Zuweisung one Wertes on a variable contains indeed one Gleichheitszeichen:
I must but confess, I Have still not understood, what
now make would. is X& then too 10 or becomes the worth of X& circa 10 increased? in the drop find I anyway
übersichtlicher. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 07/19/13 ▲ |
|
|
|
|
 RGH | i'll in this Hinsicht nothing Change. self with my C- and C++-Programs have I well hereon dispense can.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 09/25/14 ▲ |
|
|
|
|
 | Jörg Sellmeyer (19.07.13)
I must but confess, I Have still not understood, ...
Perhaps helps You an easy Anwendungsbeispiel How or. where/ when I the use, alike now time whether c, js or php - therefore "pseudocode":
not only the one itself in the do Loop one i++ saving or. one inc i or. one i=i+1 separate I can above whether I ++i or i++ write determine whether The umbenannten Files 1.png, 2.png,... or even 0.png, 1.png ... heissen.
++i increased i circa 1 and gives the value back, i++ against gives whom worth i and increased i thereafter.
is and remaining very useful, whether one it as clear empfindet or even not. |
|
|
| |
|
|
|
 | Julian Schmidt (16.07.13)
becomes it therefore really unübersichlicher and unleserlicher?
of my experience to not. the see I apparently integrally like You.
RGH (16.07.13)
I see there no advantages, sooner only The chances on less leserlichen code.
I see there advantages How z.B. leserlicheren code.
there XProfan but one Basic is stops I personally The Implementierung of mail- or Prä-Inkrement Operators however for not too necessary - but naturally - XProfan ought to it rule How others moderne Programmiersprachen it likewise do. |
|
|
| |
|
|