- Method Declarations

### Method Declarations

An XC method is a sequence of HTML (or XML) statements and method calls. A method definition for a method with name METHODNAME begins on a line containing:

>     <method METHODNAME >  any-comments-afterwards-on-this-line

and ends on a line containing:

>     </method> any-comments-afterwards-on-this-line

As an example, methods foo and bar are defined below in document E. Note that <method> and </method> must appear on their own lines and that a space must separate the end of a method name from the terminating right-widget (">") on a <method> declaration:

>     <method foo > beginning of foo
>     3  -- method foo
>     4  -- method foo
>     5  -- method foo
>     </method> end of foo

>     <method bar > beginning of bar
>     8  -- method bar
>     9  -- method bar
>     10 -- method bar
>     </method> end of bar

Method declarations can not be nested.