Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Open Err As #1
|
||||
Print #1, "Goodbye World!"
|
||||
Close #1
|
||||
Sleep
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
define stderr(s::string) => {
|
||||
file_stderr->writeBytes(#s->asBytes)
|
||||
}
|
||||
|
||||
stderr('Goodbye, World!')
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
-- print to standard error
|
||||
stdErr("Goodbye, World!", TRUE)
|
||||
|
||||
-- print to the Windows debug console (shown in realtime e.g. in Systernal's DebugView)
|
||||
dbgPrint("Goodbye, World!")
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
sx = xtra("Shell").new()
|
||||
|
||||
-- print to standard error
|
||||
sx.shell_cmd("echo Goodbye, World!>&2")
|
||||
|
||||
-- print to system.log (shown in realtime e.g. in Konsole.app)
|
||||
sx.shell_cmd("logger Goodbye, World!")
|
||||
|
|
@ -0,0 +1 @@
|
|||
stderr.writeln "Hello World"
|
||||
|
|
@ -0,0 +1 @@
|
|||
System.Err "Goodbye, World!" << cr
|
||||
|
|
@ -0,0 +1 @@
|
|||
puts(2,"Goodbye, World!\n")
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
class HelloWorld
|
||||
**Prints "Goodbye, World!" to standard error**
|
||||
|
||||
on start
|
||||
|
||||
print to Console.error made !, "Goodbye, World!"
|
||||
|
|
@ -0,0 +1 @@
|
|||
fputs(stderr,"Goodbye, World!")
|
||||
|
|
@ -0,0 +1 @@
|
|||
STDERR.println("Goodbye, World!");
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
import Foundation
|
||||
|
||||
let out = NSOutputStream(toFileAtPath: "/dev/stderr", append: true)
|
||||
let err = "Goodbye, World!".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
|
||||
out?.open()
|
||||
let success = out?.write(UnsafePointer<UInt8>(err!.bytes), maxLength: err!.length)
|
||||
out?.close()
|
||||
|
||||
if let bytes = success {
|
||||
println("\nWrote \(bytes) bytes")
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
out "goodbye, world!" endl console.err
|
||||
|
|
@ -0,0 +1 @@
|
|||
(DISPLAY "Goodbye, World!" *ERROR-OUTPUT*)
|
||||
|
|
@ -0,0 +1 @@
|
|||
error("Goodbye, World!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue