04-02-2007, 06:54 PM
meanmuggin Wrote:int hwnd=val(_command)
if w<99,999.99
w=100,000.00
else
dou 352 454
this is in a macro with window trigger! w is in a function
this is w str a.getwinclass(child(331 "98,000.00" 0x5))
this is my code so far what am i doing wrong? it keeps giving a syntax on the = ?
your problem is that w is a string variable. you would first need to remove the commas from the string, then convert to a double, then compare to to a number without commas.
