home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 February
/
PCWorld_2006-02_cd.bin
/
software
/
vyzkuste
/
triky
/
triky.exe
/
autoit-v3-setup.exe
/
Examples
/
Mod.au3
< prev
next >
Wrap
Text File
|
2004-09-22
|
255b
|
11 lines
$n = 18
If mod($n, 2) = 0 Then
MsgBox(0,"", $n & " is an even number.")
Else
MsgBox(0, "", $n & " is an odd number.")
EndIf
$x = mod(4, 7) ;$x == 4 because the divisor > dividend
$y = mod(1, 3/4) ;$y == 0.25 because the divisor is a float