On Sun, 2006-10-29 at 16:59 +1100, Jono wrote:
> > Note that if you make a procedure called 'flx_main' like:
> >
> > proc flx_main {
> > ...
> > }
> >
> > it will be run automatically (like C's main function).
> >
>
> Um, the flx_main thing ... apparently not.
>
> I tried "proc flx_main {...}" and "proc flx_main() {...}" and nada.
Ah, oops .. it does work. But you have to export it.
export proc flx_main of (unit) as "flx_main";
I've been looking at a way to make
export proc thing (.. ) { .... }
work .. it causes a conflict in the parser at the moment.
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language