Can If statement use more than 1 value?
Can we do if statements like below that check for 2 things instead of just one?
example:
If ((E2.Ellipse.Segments[1].Pen = RemovePen) or (E2.Ellipse.Segments[1].Pen = RemovePen2))
Create Object_Info E2
Create Object_Attribute "Delete" "String" E2
E2.Info.Attributes["Delete"].Value = "Yes"
End If
I've tried it in a macro and it doesn'[t seem to work. I'm so used to doing this in other macro languages that it didn't occur to me that it might not be possible in Isodraw macros. Can someone confirm this or tell me where my syntax is wrong?
If I separate the if statements they work, but then I have to copy the code between the if and end if for each one which makes the macro much longer.
Thanks to Trevor Hendricks for the orginal macro that I'm altering for this.

