error in 5: Unrecognized --> int <-- Sub-Routine
automacro num99 {
console /num(\d+)~(\d+)/
call {
$numone = @eval ($.lastMatch1 + $.lastMatch2)
$numtwo = @eval ($numone / 2)
$numthree = int(@eval($numtwo))
do talk num $numthree
}
}
how to write?
[Solved]Evaluating number using 'int' ?
Moderators: Moderators, Documentation Writers
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: error in 5: Unrecognized --> int <-- Sub-Routine
@eval(int($numtwo))