VicTT Posted September 22, 2005 Share Posted September 22, 2005 What is wrong with this line?AutoIt panicks with a "Error: Error in expression"Msgbox(0,"Cursul valutar","La "&@MDAY&" "&$luni[@MON-1]&" "&@YEAR&@LF&"1 USD = "&$USD&" lei"&@LF&"1 EURO = "&$EUR&" lei"&@LF&"Fata de "&$arr2[1]&" "&$luni[$arr2[2]-1]&" "&$arr2[3]&@LF"USD a "&_Iif($USD>$arr[2],"crescut","scazut")&" cu "&Abs($USD-$arr[2])&" lei "&@LF&"EURO a "&_Iif($EUR>$arr[3],"crescut","scazut")&" cu "&Abs($EUR-$arr[3])&" lei")Got it...sorry to disturb you guys..I forgot a "&".. Quote Together we might liveDivided we must fall Link to comment Share on other sites More sharing options...
Raindancer Posted September 22, 2005 Share Posted September 22, 2005 (edited) What is wrong with this line?AutoIt panicks with a "Error: Error in expression"Msgbox(0,"Cursul valutar","La "&@MDAY&" "&$luni[@MON-1]&" "&@YEAR&@LF&"1 USD = "&$USD&" lei"&@LF&"1 EURO = "&$EUR&" lei"&@LF&"Fata de "&$arr2[1]&" "&$luni[$arr2[2]-1]&" "&$arr2[3]&@LF"USD a "&_Iif($USD>$arr[2],"crescut","scazut")&" cu "&Abs($USD-$arr[2])&" lei "&@LF&"EURO a "&_Iif($EUR>$arr[3],"crescut","scazut")&" cu "&Abs($EUR-$arr[3])&" lei")Got it...sorry to disturb you guys..I forgot a "&".. Try this:Msgbox(0,"Cursul valutar","La "&@MDAY&" "&$luni[@MON-1]&" "&@YEAR&@LF&"1 USD = "&$USD&" lei"&@LF&"1 EURO = "&$EUR&" lei"&@LF&"Fata de "&$arr2[1]&" "&$luni[$arr2[2]-1]&" "&$arr2[3]&@LF&"USD a "&_Iif($USD>$arr[2],"crescut","scazut")&" cu "&Abs($USD-$arr[2])&" lei "&@LF&"EURO a "&_Iif($EUR>$arr[3],"crescut","scazut")&" cu "&Abs($EUR-$arr[3])&" lei")You forgot an & Edited September 22, 2005 by Raindancer Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now