Initial revision
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3a9a8b4304
commit
45b51a07f8
176 changed files with 95839 additions and 0 deletions
36
swigweb/tutorial/example_wrap_tcl.html
Executable file
36
swigweb/tutorial/example_wrap_tcl.html
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue