Should this construct be allowed in any language?

Everything else that doesn't fall into one of the other PB categories.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

What about this piece?

Code: Select all

If a 
  For a = b To c 
Else 
  For a = n To c
    Debug c+b 
  Next 
EndIf 
  Debug a+c 
Next
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Code: Select all

If t 
  For a = b To c 
Else 
  For a = n To c
EndIf 
if t=0
    Debug c+b 
endif
  Debug a+c 
Next
:)
I may look like a mule, but I'm not a complete ass.
Post Reply