Mercurial > hg > octave-nkf
view doc/interpreter/grammar.txi @ 6549:5a5a09d7deb8
[project @ 2007-04-20 06:55:29 by jwe]
author | jwe |
---|---|
date | Fri, 20 Apr 2007 06:55:29 +0000 |
parents | 4fb053f24fd6 |
children | 75c4045cf1db |
line wrap: on
line source
@c Copyright (C) 1996, 1997 John W. Eaton @c This is part of the Octave manual. @c For copying conditions, see the file gpl.texi. @node Grammar @appendix Grammar @cindex grammar rules @cindex language definition This appendix should eventually contain a semi-formal description of Octave's language. @menu * Keywords:: @end menu @node Keywords @section Keywords @cindex keywords The following identifiers are keywords, and may not be used as variable or function names: @multitable @columnfractions .33 .33 .33 @item @code{break} @tab @code{case} @tab @code{catch} @item @code{continue} @tab @code{do} @tab @code{else} @item @code{elseif} @tab @code{end} @tab @code{end_try_catch} @item @code{end_unwind_protect} @tab @code{endfor} @tab @code{endfunction} @item @code{endif} @tab @code{endswitch} @tab @code{endwhile} @item @code{for} @tab @code{function} @tab @code{global} @item @code{if} @tab @code{otherwise} @tab @code{persistent} @item @code{return} @tab @code{static} @tab @code{switch} @item @code{try} @tab @code{until} @tab @code{unwind_protect} @item @code{unwind_protect_cleanup} @tab @code{varargin} @tab @code{varargout} @item @code{while} @tab @code{__FILE__} @tab @code{__LINE__} @end multitable