Stefan Vorkoetter <[EMAIL PROTECTED]> writes:

> As per the Modelica grammar, the only thing you can do in the global
> scope is write class definitions.

I see, thanks.  But still, I thought it possible to (mis)use the
ModelicaShell as a calculator.  Some variable definitions are possible,
as in:

  a := 3.41

I thought it natural then to load some predefined constants, they might
be helpful for some quick checks as for example is possible in the
Python shell.  Also what is strange that in the OMShell (version 1.4.4)
there is no acos() working just arccos()?

--
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

>
> dieter wrote:
>> When I'm calling import within a package it works.  I'm a bit astonished
>> though that it's not possible to load package definitions into a global
>> scope.
>>
>>        Dieter

Reply via email to