スクリプト・メニュー
The Script menu contains commands to comment or uncomment part of a script, format, colorize, or add the skeleton of a control structure.
スクリプト・メニューには、スクリプトの一部をコメント化したりコメントを外したり、形式を整えたり、色付けしたり、コントロール構造の骨格を付け加えたりするコマンドが含まれています。
【この図は原典にはありません】
スクリプト・エディタでのメニュー・バーのスクリプト・メニューをクリックした処
図中のグレー表示のメニュー項目は選択できないものを表している

| Comment | Places a comment character at the beginning of the selected text. If more than one line is selected, a comment character is placed at the beginning of each line. |
| コメント | 選択したテキストの前にコメント用のキャラクタを配置します。複数行が選択されている時には、各行の前にコメント用のキャラクタが配置されます。 |
| Uncomment | Removes comment characters from the selected text. |
| 非コメント | 選択行の先頭にあるコメント用キャラクタを取り除きます。 |
| Insert Control Structure | コントロール構造を挿入(以下のコントロール構造をスクリプト内に挿入します) |
|
If Then
Else
|
Inserts the skeleton of an if/then/else/end if control structure, on the line the insertion point is on. |
|
条件分岐
|
インサーション・ポイントが置かれている行に、条件分岐コントロール構造の骨組みを挿入します。 |
|
Repeat
|
Inserts the skeleton of a repeat control structure, on the line the insertion point is on. |
|
繰り返し
|
インサーション・ポイントが置かれている行に、繰り返しコントロール構造の骨組みを挿入します。 |
|
Switch
|
Inserts the skeleton of a switch control structure, on the line the insertion point is on. |
|
切り替え
|
インサーション・ポイントが置かれている行に、切り替えコントロール構造の骨組みを挿入します。 |
|
Try
|
Inserts the skeleton of a try control structure, on the line the insertion point is on. |
|
トライ
|
インサーション・ポイントが置かれている行に、トライ・コントロール構造の骨組みを挿入します。 |
| Colorize | Color-codes commands, functions, control structures, and other Transcript terms in the script to make it easier to read. |
| 色付け | スクリプトを読みやすくするために、スクリプト内のコマンド、関数、コントロール構造、その他のトランスクリプト用語に色付けをします。 |
| Format | Indents the current handler to show its structure. |
| フォーマット | 現在のハンドラにインデント(行下げ)を施し、スクリプトの形式を整えます。 |
| Variable Checking | Variable checking causes Revolution to perform a stricter check of your scripts. Using a local variable without declaring it first causes a compile error when you press the ‘Apply’ button. This behavior can be useful in tracking down certain subtle problems such as misspelling a variable name. Additionally, using a literal string without enclosing it in quotes also causes a compile error. |
| 変数チェック | 変数チェックを使うと、レヴォルーションはスクリプトをチェックをより厳格に行うようになります。まずローカル変数を宣言することなく使用すると、Applyボタンを押した時にコンパイル・エラーとなります。この機能は、例えば変数名のスペルミスのような見つけ出すのに結構手間の掛かる細かな問題をトレースするのに有用です。更に、引用文が一対のリテラル文字で閉じることなく使われた時にもコンパイルエラーとなります。 |
| Variable Preservation | This option causes Revolution to preserve the contents of script-wide local variables whenever you press the apply button, making it easier to make changes to a script then continue running it in the same state as before the edit. |
| 変数維持 | この機能は、Applyボタンが押された時にスクリプト内だけで使用するローカル変数をレヴォルーションが維持状態にします。これにより、スクリプトに変更を加えても、変更前と同じ状態でスクリプトの実行を継続させることができるようになります。 |