Anssi asked:
> Any other/better ideas to show that the J is processing?
Someone with experience in this area should write up a Wiki page on J and
long-running processes.
That said, from reading the usr guide and wd documentation, this appears to be
the recommeded route:
loveU =: 3 : 0
psel =. 'psel ' , L: 0 (#~ =&(<'jijs'))/ 1 0 { |: wdforms_j_ ''
wd &.> psel , L: 0 '; pshow sw_hide'
wdstatus 'please hold'
for_i. i. 10 do.
wd 'msgs'
longTime i
wdstatus 'your call is important to us ... ',": i
end.
wdstatus '<dial tone>'
wd &.> psel , L: 0 '; pshow sw_show'
wd'reset'
)
longTime =: 3 : '6!:3 y =. 0.5'
loveU ''
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm