다음: , 상위 문서: Grammar and Parser   [차례][찾아보기]


F.1 Keywords

The following identifiers are keywords, and may not be used as variable or function names:

__FILE____LINE__break
casecatchclassdef
continuedoelse
elseifendend_try_catch
end_unwind_protectendclassdefendenumeration
endeventsendforendfunction
endifendmethodsendparfor
endpropertiesendswitchendwhile
enumerationeventsfor
functionglobalif
methodsotherwiseparfor
persistentpropertiesreturn
switchtryuntil
unwind_protectunwind_protect_cleanupwhile

The function iskeyword can be used to quickly check whether an identifier is reserved by Octave.

iskeyword ()
iskeyword (이름)

Return true if 이름 is an Octave keyword.

If 이름 is omitted, return a list of keywords.

같이 보기: isvarname, exist.