Thanks to the help of several list members I managed to translate and update some old procedures. These procedures were part of a packcage and they all had help files. Here is an example

# E. Mendes - 25/04/94

`help/text/sampling`:=TEXT(``,

`FUNCTION: sampling - finds the discretized model`,

` `,

`CALLING SEQUENCE:`,

` sampling(f)`,

` sampling(f,k)`,

` sampling(f,k,vars)`,

`PARAMETERS:`,

` f - state space`,

` k - order of approximation`,

` vars - variables`,

``,

`SYNOPSIS:`,

`- sampling(f,k) returns a discrete approximation for a continuous`,

` system`,``,

` dx(t)/dt=f(x(t),u(t)) `,

``,

`EXAMPLE: `,``,

`> with(linalg):`,

`> f:=vector([x2,x3,-x1+x2^2+2*x3]):`,

`> sampling(f,1)`,

``,

` 2`,

` [- x1, x2 + x1 ]`,``,

`SEE ALSO: fixpoind, fixpoinc`):

I have browsed the help documentation but I must confess I don't feel comfortable to modify the help database. Do I have to wrap all the functions up as a package and then write the help files? I am lost here. Any help will be most welcome.