[Oberon] PO2013 - Simple Calc Tool

Jörg joerg.straube at iaeth.ch
Thu Dec 20 10:55:13 CET 2018


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 at lists.inf.ethz.ch im Auftrag von lab.eas at 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 at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
    https://lists.inf.ethz.ch/mailman/listinfo/oberon
    




More information about the Oberon mailing list