Re: [ooc-compiler] Suggestion: Procedure renaming in interface modules
Brought to you by:
mva
|
From: Stewart G. <sgr...@ip...> - 2002-02-13 09:16:43
|
Stewart Greenhill wrote: > If this were declared in an interface module GSL:SF:Bessel.Mod, it would > look like this: > > PROCEDURE J0* [ "gsl_sf_bessel_J0" ] (x : LONGREAL) : LONGREAL; > > So I can then do: > > IMPORT GSL:SF:Bessel; > ... > Bessel.J0(arg) Having read the fine manual, I see that this already works. However, for procedures the declaration flags go _before_ the procedure name, so one has to do this: PROCEDURE [ "gsl_sf_bessel_J0" ] J0* (x : LONGREAL) : LONGREAL; Cheers, Stewart |