melInfo
melInfo は 「元に戻す」が不可能、「照会」が不可能、「編集」が不可能 です。
このコマンドは、現在文字配列として定義されているすべてのグローバル MEL プロシージャ名を返します。「whatIs」コマンドを使用すると、各 MEL プロシージャの定義を照会できます。| string[] | プロシージャ名 |
// Query informaton about every MEL procedure and command defined. For
// each procedure/command, use the whatIs command to print a summary.
// Output the result to a file on disc.
//
$fileName = ( `internalVar -userTmpDir` + "mel.tmp" );
$fileId=`fopen $fileName "w"`;
string $procs[] = `melInfo`;
int $i;
for ( $i = 0; $i < size( $procs ); $i++ )
{
string $s = `whatIs $procs[$i]`;
fprint $fileId ( $procs[$i] + " : " + $s + "\n" );
}
fclose $fileId;