I know you said no subroutines, but really, what is the issue with the
following


GOSUB CodeBlockThatDoesX

...

CodeBlockThatDoesX:
   block code
   block code
   if condition then RETURN
   block code
RETURN ;* End CodeBlockThatDoesX


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of George Gallen
Sent: Tuesday, 8 February 2011 7:48 AM
To: U2 Users List
Subject: Re: [U2] Does UV have a "BLOCK" command



> -----Original Message-----
> From: [email protected] [mailto:u2-users- 
> [email protected]] On Behalf Of Steve Romanow
> Sent: Monday, February 07, 2011 3:42 PM
> To: [email protected]
> Subject: Re: [U2] Does UV have a "BLOCK" command
> 
> On 2/7/2011 3:39 PM, George Gallen wrote:
> >>
> Why not just
> 
> block code
> block code
> if not(condition) then
>    block code
> end

There could then be other conditions inside that if block
    that would cause it to need to drop out of the block
    there could be 3 or 4 conditions

it would look really confusing (and I'm not a pessimist - I
   work better when not thinking in nots .... see what I mean.

  block code
  block code
  if not(condition) then
      block code
      block code
      if not(condition) then
         block code
         block code
         if not (condition) then
            block
            block code
         end
      end
   end

then

begin block (aka) Loop
   block code
   if condition then exit
   block code
   block code
   if condition then exit
   block code
   if condition then exit
   block code
end block (aka) exit - repeat

> 
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
###########################################################################################
The information transmitted in this message and attachments (if any) is 
intended only
for the person or entity to which it is addressed. The message may contain 
confidential
and/or privileged material.  Any review, retransmission, dissemination or other 
use of
or taking of any action in reliance upon this information by persons or 
entities other
than the intended recipient is prohibited.  If you received this in error, 
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files with the 
permission of IMB.
###########################################################################################
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to