このファイルには識別子でのローマ字の使い方の例が含まれています。たとえば、次のようなものは有効な Curl 言語の識別子です。
- supercalifragilistic
- supercalifragilistic-expialadocious
- SupercalifragilisticExpialadocious
- _supercalifragilistic
- super1234
- super?
- x-y
また、次のものはCurl 言語の識別子として 有効ではありません。
- -supercalifragilistic
- 3supercalifragilistic
- super#
- super$
- ?super
- 1-x
- x+y
ハイフン (-) は単項演算子否定を示すためにも使われるので、識別子はハイフンで始まってはいけません。たとえば、実行環境は -b を識別子 b の負の値であると解釈します。
Curl 言語では、識別子は大文字と小文字を区別し、全角と半角を区別します。つまり、一度識別子を宣言したら正確に宣言したとおりに使用しなければならないということです。それぞれの文字の大文字・小文字と全角・半角は宣言に一致しなければなりません。識別子が大文字と小文字を区別するので、次の識別子は別のものとみなされます。
Copyright © 1998-2019 SCSK Corporation.
All rights reserved.
Curl, the Curl logo, Surge, and the Surge logo are trademarks of SCSK Corporation.
that are registered in the United States. Surge
Lab, the Surge Lab logo, and the Surge Lab Visual Layout Editor (VLE)
logo are trademarks of SCSK Corporation.