English
Opportunities and suggestions

wish: Zuweisungsoperatoren

 

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
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/16/13  
 




RGH
Hm, what should the bring? I see there no advantages, sooner only The chances on less leserlichen code.

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
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
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/16/13  
 




RGH
leg whom Variablennamen becomes it never clear!

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
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.
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/17/13  
 




E.T.
means what should whom one
hinzhunzundkunz& += 5

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 X2
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...
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.
hinzhunzundkunz& += 5
hinzhunzundkunz& += because (IF(Cola gotten)
hinzhunzundkunz& -= IF (has Pommes forget)
hinzhunzundkunz& |= something everything vergleichbares..
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/17/13  
 




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.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
07/19/13  
 




Jörg
Sellmeyer
Well - The Zuweisung one Wertes on a variable contains indeed one Gleichheitszeichen:
X& = 10

I must but confess, I Have still not understood, what
X& += 10

now make would. is X& then too 10 or becomes the worth of X& circa 10 increased?
in the drop find I anyway
Inc X&,10

ü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 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
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.
 
10/04/14  
 



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.
 
10/04/14  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

15.851 Views

Untitledvor 0 min.
Glubbfan05/11/21
Peter Max Müller04/23/17
maroro05/29/15
Michaeal02/17/15
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