dialog ram {
size -1 -1 772 19
title "Dialog"
text "Ram:",1,103 1 134 17
text "30 0 100",2,-1 2 100 15
}
on *:dialog:ram:init:*:{
dll mdx.dll SetMircVersion $version
dll mdx.dll MarkDialog $dname
dll mdx.dll SetControlMDX $dname 2 ProgressBar smooth > ctl_gen.mdx
did -a $dname 2 $calc($disk(c:).size - $disk(c:).free) 0 $disk(c:).size
did -a $dname 1 $left($percent($disk(c:).free,$disk(c:).size),2) $+ %
}
$calc($disk(C:).size - $disk(c:).free) should return the disk space being used?
it doesnt, any help greatly appreciated