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" -----Original Message----- From: [email protected] [mailto:[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: > >> LOOP >> block code >> block code >> if condition then EXIT >> block code >> EXIT >> REPEAT >> >> Would be nice if.... >> >> BEGIN BLOCK >> block code >> block code >> if condition then EXIT >> block code >> END BLOCK >> Why not just block code block code if not(condition) then block code end _______________________________________________ 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
