yes, it is cosmetic. It (the BLOCK command if it had one) would compile into a GOTO Label, where the system would have to put a label for NOP at the end of the block.
Using the Loop/Repeat with the EXIT before the repeat works well, but functionally it's confusing by it's name. indenting looks nice with short commands like "block command" but when you start adding in PRINTs, or longer commands that are close to line's length, it starts to get really hard to follow with line wrapping. I also thought about using subroutines, and instead of EXIT's would use RETURNs. But was trying to eliminate the usage of labels. Was hoping one of the flavors or UV had something like it...but guess not. > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Dave Laansma > Sent: Monday, February 07, 2011 4:02 PM > To: U2 Users List > Subject: Re: [U2] Does UV have a "BLOCK" command > > I have to agree with Steve on this one, to my knowledge you're going to > have to use either indented IF/THEN/END or GOTO. > > That is unless there is a different syntactical statement set > available. > > The thing is they all likely decompile to the same instructions, so > we're debating cosmetics here. > > Personally I like indented IF/THEN/END ... adds clarity > > Sincerely, > David Laansma > IT Manager > Hubbard Supply Co. > Direct: 810-342-7143 > Office: 810-234-8681 > Fax: 810-234-6142 > www.hubbardsupply.com > "Delivering Products, Services and Innovative Solutions" > _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
