Greetings,

Ouput from the following code:

  {System.showInfo ~1}          %% (1)
  {System.showInfo ~1.0}       %% (2)

  {System.showInfo {VirtualString.changeSign {IntToString ~1} &-}}
  {System.showInfo {VirtualString.changeSign {IntToString ~1} "-"}}

is:

  -1
  -1.0
  ~1
  ~1

Obviously some sort of implicit conversion is being performed at (1) and
(2). My question is: what routine(s) need to be called in order to
explicitly perform this task ?

I would have thought it was 'VirtualString.changeSign', but all my attempts
to so use it are failing.

Cheers,

Anthony Borla


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to