[Jprogramming] timer in j701?
Björn Helgason
gosinn at gmail.com
Thu Jan 5 22:32:35 HKT 2012
Will this do?
6!:3 y*Delay*. Delay execution for y seconds. For example, 6!:3 (2.5)
ff''
2012 1 5 14 29 37.409
2012 1 5 14 29 37.41
2012 1 5 14 29 52.42
2012 1 5 14 29 52.42
ff
3 : 0
smoutput 6!:0 ''
f''
smoutput 6!:0 ''
)
f
3 : 0
smoutput 6!:0 ''
6!:3 (15)
smoutput 6!:0 ''
)
Strangely all the delay seems to come in the beginning before all starts
2012/1/5 Ian Clark <earthspotty at gmail.com>
> How do I get a timer in j701 jhs (or jconsole)?
>
> I've been assuming wd (11!:0) doesn't work at all in j701 (in j602
> you'd do: 11!:0 'timer 3' for a callback in 3 secs).
>
> BTW J701 help (http://www.jsoftware.com/docs/help701/dictionary/dx011.htm)
> still refers to 11!:0 but I assume that's just because it's been
> overlooked...?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gosinn at gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=) ♖♘♗♕♔♙
`. )----' (")_(") ☃☠
More information about the Programming
mailing list