i have a variable card1, i need a msgbox that shows the variable -1
something like:
Code: Select all
card1=5
card2= %card1%-1
{
MsgBox, %card2%
}
hope someone can solve this for me
Code: Select all
card1=5
card2= %card1%-1
{
MsgBox, %card2%
}
card1 := 5
MsgBox % card2 := card1 - 1
Code: Select all
card1 := 5
MsgBox % --card1
card1 := 5
MsgBox % card1 -=1
Code: Select all
card1=5
card2= % card1 -1
MsgBox, %card2%