News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

.if statement minimises

Started by RedXVII, May 09, 2006, 03:13:50 PM

Previous topic - Next topic

RedXVII

I find the plus to the left of my .if statments very handy in keeping things tidy!!

However, i cant find the option to just do the minimise on a single section between the .if and .elseif statement. It always minimises to the .endif, which is a tad annoying. My Wndproc looks like

.if eax==WM_CREATE
  blah
  blah
  blah
  blah
.elseif eax==WM_PAINT
  blah
  blah
  blah
  blah
.elseif eax==WM_LBUTTONDOWN
  blah
  blah
  blah
  blah
.endif

All i want to do is minimise the messy sections WM_CREATE and WM_LBUTTONDOWN while i work on the WM_PAINT, but the only option i see available is to do the whole thing from .if to .endif, or not at all.

Is what i want to do possible!!?

Cheers  :U

Ossa

Many moons ago it used to support that, but it has been removed in recent versions. I don't know why though, maybe KetilO can add it back in?

Ossa

[edit] *evil link coming up* It was originally introduced some time in mid-2003 - shortly after this post [/edit]
Website (very old): ossa.the-wot.co.uk

RedXVII


KetilO

Hi

You can get RadASM 2.2.0.9 bugtest here: http://www.radasm.com/Upload/RadASM2209.zip

Ctrl+E can be used to expand inividual elseif blocks.

KetilO

BogdanOntanu

Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro