comp.lang.ada
 help / color / mirror / Atom feed
* Looking for calc. package in Ada
@ 1996-06-25  0:00 Strategies SA
  1996-06-27  0:00 ` Gary McKee
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Strategies SA @ 1996-06-25  0:00 UTC (permalink / raw)



Hello
I'm looking for a package looking like :

package CALCULATOR is 
   ...
   procedure STORE_VARIABLE is (NAME : STRING;
				VALUE : FLOAT);

   function CALCULATE (EXPRESSION : STRING) 
	return FLOAT;
   ...
end CALCULATOR;

In order to use it the following way 
   ...
   CALCULATOR.STORE_VARIABLE ("A", 10.0);
   ...
   RESULT := CALCULATOR.EVALUATE ("10*COS(A)");
   ...
Does anybody know where I can find (good) inspiration ? 
Thank You in advance

Jerome HAGUET
Strategies 
France




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-06-28  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-25  0:00 Looking for calc. package in Ada Strategies SA
1996-06-27  0:00 ` Gary McKee
1996-06-27  0:00 ` Nasser Abbasi
1996-06-28  0:00 ` k. beitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox