comp.lang.ada
 help / color / mirror / Atom feed
From: Strategies SA <100747.2001@CompuServe.COM>
Subject: Looking for calc. package in Ada
Date: 1996/06/25
Date: 1996-06-25T00:00:00+00:00	[thread overview]
Message-ID: <4qp7vu$c9f$1@mhafn.production.compuserve.com> (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




             reply	other threads:[~1996-06-25  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-25  0:00 Strategies SA [this message]
1996-06-27  0:00 ` Looking for calc. package in Ada Gary McKee
1996-06-27  0:00 ` Nasser Abbasi
1996-06-28  0:00 ` k. beitz
replies disabled

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