PO2013 - Simple Calc Tool
Hi, Looking for simple calculator, doing simple math, e.g. adding offsets and addresses, taking input from standard scanner or In.Mod? Bin, Hex, Dec, Octal not needed. Many thanks. -- Tomas Kral <thomas.kral@email.cz>
On Sat, 3 Nov 2018 14:38:15 +0000 "Skulski, Wojciech" <skulski@pas.rochester.edu> wrote:
Calc.Dlg is a part of Dialogs.
I see, having these sources: /usr/src/oberon/oberon-1.7.02/Packages/Dialogs with last change reported as of 10.May.95 Dialogs introducing a new file type that of `Dlg', I guess needs to be assembled somehow? Also, this Oberon-2 formalism PROCEDURE (g: Item) Handle (f: Display.Frame; VAR m: Display.FrameMsg); has to be recoded to Oberon-7 using pointers and procedure variables? -- Tomas Kral <thomas.kral@email.cz>
Looking for simple calculator, doing simple math, e.g. adding offsets and addresses, taking input from standard scanner or In.Mod?
Hi, I have just discovered this simple calc tool under UV4 modules. Looks awesome. System.Open Calc.Tool Calc.Reset Calc.Set cos := 33H otto := 1000H ~ Calc.List Calc.Hex egon + otto Calc.Dec egon * 2 Calc.Char "j" + 7 Calc.Real cos (193 * pi) It is by `CAS', `Def.Mod' by the same author. -- Tomas Kral <thomas.kral@email.cz>
Tomas Kral wrote/:-------------- I have just discovered this simple calc tool under UV4 modules. Looks awesome. System.Open Calc.Tool Calc.Reset Calc.Set cos := 33H otto := 1000H ~ Calc.List Calc.Hex egon + otto Calc.Dec egon * 2 Calc.Char "j" + 7 Calc.Real cos (193 * pi) ------------------------------- I like the syntax. Is it in *nix:V4? Can you post a URL? Can it handle constructed expressions like:- Calc.Char "j" - (Calc.Hex 0H + 30H) ? What's the value of egon? Thanks.
Yes, it can handle constructed expression. And it's rather portable to almost any Oberon system. Imports Texts, Oberon and Math to calculate sin(), cos(), tan() and so on. Jörg Am 20.12.18, 10:16 schrieb "Oberon im Auftrag von eas lab" <oberon-bounces@lists.inf.ethz.ch im Auftrag von lab.eas@gmail.com>: Tomas Kral wrote/:-------------- I have just discovered this simple calc tool under UV4 modules. Looks awesome. System.Open Calc.Tool Calc.Reset Calc.Set cos := 33H otto := 1000H ~ Calc.List Calc.Hex egon + otto Calc.Dec egon * 2 Calc.Char "j" + 7 Calc.Real cos (193 * pi) ------------------------------- I like the syntax. Is it in *nix:V4? Can you post a URL? Can it handle constructed expressions like:- Calc.Char "j" - (Calc.Hex 0H + 30H) ? What's the value of egon? Thanks. -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (4)
-
eas lab -
Jörg -
Skulski, Wojciech -
Tomas Kral