News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

more than one condition on a single line of code... help

Started by xandaz, November 27, 2020, 06:06:28 AM

Previous topic - Next topic

xandaz

    ....how do i do more than one condition on a single line o code? it would be something like this
.if ax==IDB:OPEN or .if  ax==IDM_OPEN
    Can someone help. should be simple. ty in advance

jj2007

.if ax==IDB:OPEN || ax==IDM_OPEN

(but I doubt IDB:OPEN will assemble)

xandaz


hutch--

If you have problems with multiple test conditions, you can always nest them one inside the other.