repo.or.cz
/
chuck-blob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[chuck-blob.git]
/
examples
/
std.ck
blob
8adc2f723835abc26c7a7a508bcc8b6467f66481
1
// chuck stdlib test
2
std.randf() => stdout;
3
std.randf() => stdout;
4
std.randf() => stdout;
5
std.randf() => stdout;
6
std.randf() => stdout;
7
std.randf() => stdout;
8
std.randf() => stdout;
9
10
std.abs(-10.0) => stdout;
11
std.system("pwd");
12
std.getenv("USER") => stdout;
13
std.sgn(-1.0) => stdout;
14
std.setenv( "LAUGH", "HAHA" );