Explorar o código

added println

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
84a4d52337
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      std/neko/Lib.hx

+ 4 - 0
std/neko/Lib.hx

@@ -34,6 +34,10 @@ class Lib {
 		untyped __dollar__print(v);
 	}
 
+	public static function println( v : Dynamic ) : Void {
+		untyped __dollar__print(v,"\n");
+	}
+
 	public static function rethrow( e : Dynamic ) : Void {
 		untyped __dollar__rethrow(e);
 	}