home > 比較編 > Perl, PHP, Python, Ruby > arithmetic and logic >

ForNext

Only Do What Only You Can Do

027. comparison operators

VBScript

JScript

Perl

numbers only: == != > < >= <=
strings: eq ne gt lt ge le

PHP

== != or <> > < >= <=
no conversion: === !==

Python

comparison operators are chainable:
== != > < >= <=

Ruby

== != > < >= <=

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