| <HTML> |
| <HEAD> |
| <TITLE> |
| Simple Example</TITLE> |
| <BODY BGCOLOR="#ffffff"> |
| <H1>Simple Example</H1> |
| |
| <HR><H1> Contents </H1> |
| <UL><LI> <A HREF="#s1_">1. My Commands</A> |
| </UL> |
| |
| <A name="s1_"> |
| <HR><H2>1. My Commands</H2></A> |
| <P><TT><B>$My_variable</B></TT> |
| <BLOCKQUOTE>[ Global : double My_variable ] |
| <BR> This is an interesting variable |
| </BLOCKQUOTE> |
| |
| <P><TT><B>fact n </B></TT> |
| <BLOCKQUOTE>[ returns int ] |
| <BR> Computes n factorial |
| </BLOCKQUOTE> |
| |
| <P><TT><B>my_mod x y </B></TT> |
| <BLOCKQUOTE>[ returns int ] |
| <BR> Calculates x % y |
| </BLOCKQUOTE> |
| |
| <P><TT><B>get_time </B></TT> |
| <BLOCKQUOTE>[ returns char * ] |
| <BR> Returns the current time as a string |
| </BLOCKQUOTE> |
| |
| |
| </BODY> |
| </HTML> |