이전: Keywords, 상위 문서: Grammar and Parser [차례][찾아보기]
The parser has a number of variables that affect its internal operation. These variables are generally documented in the manual alongside the code that they affect.
In addition, there are three non-specific parser customization functions.
add_input_event_hook
can be used to schedule a user function for
periodic evaluation. remove_input_event_hook
will stop a user function
from being evaluated periodically.
Add the named function or function handle 함수 to the list of functions to call periodically when Octave is waiting for input.
The function should have the form
함수 (자료)
If 자료 is omitted, Octave calls the function without any arguments.
The returned identifier may be used to remove the function handle from the list of input hook functions.
같이 보기: remove_input_event_hook.
Remove the named function or function handle with the given identifier from the list of functions to call periodically when Octave is waiting for input.
같이 보기: add_input_event_hook.
Finally, when the parser cannot identify an input token it calls a particular
function to handle this. By default, this is the internal function
"__unimplemented__"
which makes suggestions about possible Octave
substitutes for 매트랩 functions.
Query or set the internal variable that specifies the function to call when an unknown identifier is requested.
함수 안에서 "local"
선택지를 넣어 부르면, 함수와 함수가 부른 종속 절차의 변수가 지역적으로 바뀝니다. 함수가 종료되면 원래 변숫값이 되돌아옵니다.
같이 보기: missing_component_hook.
이전: Keywords, 상위 문서: Grammar and Parser [차례][찾아보기]