/* Internal function to determine if a command is a script only command. */
BOOLEAN IsScriptOnlyCommand(IN CONST CHAR16 *CommandName)
/* Internal function to determine if a command is a script only command. */
BOOLEAN IsScriptOnlyCommand(IN CONST CHAR16 *CommandName)
{
  if (  IsCommand (CommandName, L"for")
     || IsCommand (CommandName, L"endfor")
     || IsCommand (CommandName, L"if")
     || IsCommand (CommandName, L"else")
     || IsCommand (CommandName, L"endif")
     || IsCommand (CommandName, L"goto"))
  {
    return (TRUE);
  }
  return (FALSE);
}