error with a simple program
ashakeel · Tue Dec 16, 2008 5:50 pm
I tried writing a simple library using the mdouble proc in the template lib.I called it test.lib:
proc mdouble (int i)
{
return(i+i);
}
when I load it, and try to run, I get:
> load("test.lib")
// ** loaded test.lib (1.98,2007/11/06)
// ** library test.lib has old format. This format is still accepted,
// ** but for functionality you may wish to change to the new
// ** format. Please refer to the manual for further information.
. mdouble(9)
? error occurred in STDIN line 2: `mdouble(9)`
? last reserved name was `load`
skipping text from `(`.
any help would be appreciated.
thanks
Asif
proc mdouble (int i)
{
return(i+i);
}
when I load it, and try to run, I get:
> load("test.lib")
// ** loaded test.lib (1.98,2007/11/06)
// ** library test.lib has old format. This format is still accepted,
// ** but for functionality you may wish to change to the new
// ** format. Please refer to the manual for further information.
. mdouble(9)
? error occurred in STDIN line 2: `mdouble(9)`
? last reserved name was `load`
skipping text from `(`.
any help would be appreciated.
thanks
Asif