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]
/
v2
/
examples
/
basic
/
step.ck
blob
df53f36aba62d07818b639b45fd251ee5d2977a5
1
// step gen to dac
2
Step s => dac;
3
.5 => float v;
4
5
// infinite time-loop
6
while( 1 )
7
{
8
// advance time
9
1::ms => now;
10
// set value
11
v => s.next;
12
-v => v;
13
}