Re: Number of parameters
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 24, 2003
- 441 views
On Thu, 24 Jul 2003 12:35:30 +0200, Juergen Luethje <j.lue at gmx.de> wrote: >What is the maximum number of parameters, that a normal routine can = take? 255 or thereabouts: integer out for maxp=3D250 to 260 do out=3Dopen("p.exw","w") puts(out,"without warning\nprocedure a(integer a0") for i=3D1 to maxp do printf(out,",integer a%d\n",i) end for puts(out,")\nend procedure\na(1") for i=3D1 to maxp do puts(out,",1\n") end for puts(out,")\n") close(out) if system_exec("exw p.exw",2)=3D-1 then printf(1,"failure at %d\n",maxp) if getc(0) then end if abort(0) end if ?maxp end for abort(0) Pete