Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -0,0 +1 @@
|
|||
console.error("Goodbye, World!")//only works if console object exists
|
||||
|
|
@ -0,0 +1 @@
|
|||
throw new Error("Goodbye, World!")//Should work in any browser
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
:- object(error_message).
|
||||
|
||||
% the initialization/1 directive argument is automatically executed
|
||||
% when the object is compiled and loaded into memory:
|
||||
:- initialization(write(user_error, 'Goodbye, World!\n')).
|
||||
|
||||
:- end_object.
|
||||
|
|
@ -0,0 +1 @@
|
|||
fprintf(2,'Goodbye, World!')
|
||||
|
|
@ -0,0 +1 @@
|
|||
error 'Goodbye, World!'
|
||||
|
|
@ -0,0 +1 @@
|
|||
System.Console.Error.WriteLine("Goodbye, World!");
|
||||
|
|
@ -1 +1 @@
|
|||
System.err.println("Goodbye, World!")
|
||||
Console.err.println("Goodbye, World!")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Console.err.println("Goodbye, World!")
|
||||
System.err.println("Goodbye, World!")
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Console.err.println("Goodbye, World!")
|
||||
|
|
@ -0,0 +1 @@
|
|||
Console.withOut(Console.err) { println("This goes to default _err_") }
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
println ("Out not deviated")
|
||||
Console.setOut(Console.err)
|
||||
println ("Out deviated")
|
||||
Console.setOut(Console.out) // Reset to normal
|
||||
Loading…
Add table
Add a link
Reference in a new issue