Simple Example

[ Module : swig, Package : swig ]

Contents


1. My Commands

$My_variable

[ Global : double My_variable ]
This is an interesting variable

fact(n);

[ returns int ]
Computes n factorial

my_mod(x,y);

[ returns int ]
Calculates x % y

get_time();

[ returns char * ]
Returns the current time as a string