Hello Alan,
> (b) All Powerpro's internal functions and operators do arithmetic
> with whole numbers (also called integers) only.
> Results of division are simplified to a whole number.
> For example 10/3 (which is 3.3333333etc) becomes just 3
>
> I hope that makes it clear :)
>
> Alan
>
now it's clear - thanks Alan. So i use divison by 1 now, which removes
the decimals for me. Here you can see my very-first "mini-script" in
commandlist "monitor", setting the color of a pushbutton depending on
the cpu-usage:
cl.SetBackColor("DLB - Info",4,c)
if((GetSystemPerformanceData.Get_CPU_Usage/1)>"80") do
cl.SetBackColor("DLB - Info",4,255,0,0)
endif
By the way, first i put those few script-lines into a file and used
the built-in-function "*Script runfile ...". But then i noticed a lot
of I/Os (with filemonitor of sysinternals) done by PowerPro. Therefore
i put them into the "Enter more commands"-box.
Thanks again, regards dele
------------------------ Yahoo! Groups Sponsor --------------------~-->
Everything you need is one click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/