home > 比較編 > Perl, PHP, Python, Ruby > はじめに >

ForNext

Only Do What Only You Can Do

011. compound assignment operators: arithmetic, string, logical, bit

VBScript

JScript

Perl

+= -= *= none /= %= **=
.= x=
&&= ||= ^=
<<= >>= &= |= ^=

PHP

+= -= *= none /= %= **=
.= none
&= |= none
<<= >>= &= |= ^=

Python

# do not return values:
+= -= *= /= //= %= **=
+= *=
&= |= ^=
<<= >>= &= |= ^=

Ruby

+= -= *= /= none %= **=
+= *=
&&= ||= ^=
<<= >>= &= |= ^=

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system