Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/BuslinesWithDBPP/   (Vienna Development Method ©)  Datei vom 13.4.2020 mit Größe 583 B image not shown  

Quelle  Printer.vdmpp

  Sprache: VDM
 

class Printer

 operations  
  public static Out: seq of char ==> ()
   Out (pstr) ==
     def - = new IO().echo(pstr ^ "\n"in skip;
      
  
  public static natToString : nat ==> seq of char 
  natToString(n) ==
  (
   return VDMUtil`val2seq_of_char[nat](n);
  );

    
  public static OutWithTS: seq of char ==> ()
  OutWithTS (pstr) ==
      def - = new IO().echo(Printer`natToString(World`timerRef.GetTime()) ^": " ^ pstr ^ "\n"in skip;


  public static intToString : int ==> seq of char 
  intToString(i) ==
  (
   return VDMUtil`val2seq_of_char[int](i);
  );

end Printer

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.