Coming from somewhere with over 40 developers the first thing that comes
to mind is KISS. Why or why would you want to change a very simple easy
to read case statement for something more contrived? We train developers
to write clean easy to maintain code. When I say we what I mean is we
get Martin in for two weeks and then I introduce them to our standards.
Must nip upstairs and see how Martin is getting on..bye..


Les Sherlock Hewkin 
Project Manager - Financial Systems 
01604 592289 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: 25 July 2007 18:55
To: '[email protected]'
Subject: RE: [U2] : Cleaner Case Statement

Martin:

Thanks very much indeed.

--Bill


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin Phillips
Sent: Wednesday, July 25, 2007 12:38 PM
To: [email protected]
Subject: Re: [U2] [u2] : Cleaner Case Statement


Hi Bill,

Unlike languages such as C, Basic does not allow multiple conditions in
the way in which you are looking to do. In terms of run time performance
or program size, if it really is just a GOSUB, there whould be little
disadvantage in writing the more verbose form of your first example.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
</head>
<body>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">This e-mail and any 
attachments are confidential and intended solely for the use of the addressee 
only. If you have received this message in error, you must not copy, distribute 
or disclose the contents; please notify the sender immediately and delete the 
message. </SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">This message is 
attributed to the sender and may not necessarily reflect the view of Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
Perkins may not be concluded by means of e-mail communication. </SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">E-mail transmissions are 
not secure and Travis Perkins accepts no responsibility for changes made to 
this 
message after it was sent. Whilst steps have been taken to ensure that this 
message is virus free, Travis Perkins accepts no liability for infection and 
recommends that you scan this e-mail and any attachments. </SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'">Part of Travis Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. </SPAN></P>
</BODY>
</HTML>
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to