Unimplemented feature in SYSTEM.VAL

Unimplemented feature in SYSTEM.VAL

Postby Zorko » Fri Nov 08, 2019 8:12 am

Code: Select all
MODULE Test; IMPORT SYSTEM;
VAR r: REAL;
BEGIN
  r := SYSTEM.VAL(REAL, 7FEFFFFFFFFFFFFFL)
END Test.


261 unsupported mode or size of second argument of SYSTEM.VAL
Zorko
 
Posts: 21
Joined: Tue Sep 17, 2013 10:13 pm
Location: Ukraine

Re: Unimplemented feature in SYSTEM.VAL

Postby luowy » Fri Nov 08, 2019 8:37 am

Code: Select all
MODULE Test;
   IMPORT SYSTEM;
   IMPORT Log:=StdLog;
   
   PROCEDURE Do*();
      VAR r: REAL;
   BEGIN
      (*r := SYSTEM.VAL(REAL, 7FEFFFFFFFFFFFFFL); *) (*no support*)
      r := 7FEFFFFFFFFFFFFFR;
      Log.Real(r);Log.Ln;
   END Do;
   
END Test.
luowy
 
Posts: 48
Joined: Thu Dec 17, 2015 1:32 pm


Return to Bug

Who is online

Users browsing this forum: No registered users and 1 guest