Why are you responding?
 

 

 

-----Original Message-----
From: Martin Braid <[email protected]>
To: U2 Users List <[email protected]>
Sent: Sun, Dec 9, 2012 11:04 am
Subject: Re: [U2] Another job ad written by people who have no clue


I don't have time for this ****     Give us all a break

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: 09 December 2012 19:01
To: [email protected]
Subject: Re: [U2] Another job ad written by people who have no clue

if not(cond) then Jump Label1
cmd1
cmd2
Jump Label2
*
Label1:
cmd3
cmd4
*
Label2:
That's all folks

I think SMI's RPL has this type of requirement If you mean the IF knows
when it ENDS because it hits a JUMP that's not a very nice solution....



 

 

 

-----Original Message-----
From: Brian Leach <[email protected]>
To: U2 Users List <[email protected]>
Sent: Sun, Dec 9, 2012 10:06 am
Subject: Re: [U2] Another job ad written by people who have no clue


since I often find myself working in mvBasic, Delphi, C#, javascript and
sometimes VB.NET at the same time it is the multiline end and else
syntax that is the one that trips me.

Basic

If cond Then
blah
End Else
blah
End

Delphi

If cond Then Begin
blah;
End Else Begin
blah;
End;

VB.NET

If cond Then
blah
Else
blah
End If

.. So sometimes the C# and javascript braces are welcome!

But I would add that good code is beautiful irrespective of the
syntactic vagaries of the chosen language - except for TSQL of course
which is always horrible. <grin>

Brian

Sent from my iPad

On 9 Dec 2012, at 17:38, Wjhonson <[email protected]> wrote:

> For a single line.
> I don't understand how an IF would know, for multiple lines, where 
> it's
supposed to end.
> With a semi colon?  Horrible.
> Computer languages should be written for humans to read, not machines.
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: u2ug <[email protected]>
> To: louiebergsagel <[email protected]>; U2 Users List
<[email protected]>
> Sent: Sun, Dec 9, 2012 9:32 am
> Subject: Re: [U2] Another job ad written by people who have no clue
> 
> 
> mv basic doesn't require an END to an IF either
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Louie 
> Bergsagel
> Sent: Sunday, December 09, 2012 3:21 AM
> To: U2 Users List
> Subject: Re: [U2] Another job ad written by people who have no clue
> 
> I'm in my current job because I was willing to learn Python at work 
> and on my own dime.  I took a beginner's course in Python at the 
> University of Washington because I didn't know much besides Prime 
> Information, Henco's Info, Structure/4, UniVerse, UniData and MITS.  
> It was fun to learn Python as the syntax was so similar to Pick basic.

> Program controls is through indentation, which we usually use anyway.

> They even go Pick one better:
> an IF statement doesn't need an END.  They all require one, right, so 
> why
> not assume it?  I love that thinking.   Learn some Python.  You'll be
> glad
> you did.
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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

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


Click
https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==
1O3VGvZQIqY7TB0O9Dz9j4aDK!jBrZYucwFoPzuIXnePg==  to report this email as
spam.
--------------------------------------------------------

Epicor Software (UK) is a limited company registered in England & Wales.  
Registration Number: 2338274.   Registered Office:  6th Floor, One London Wall, 
London EC2Y 5EB 
This e-mail and any attachments to it are confidential and is for the use of 
the 
intended recipient(s) only. If you have received this e-mail in error, please 
notify the sender immediately and then delete it. If you are not the intended 
recipient, you must not use, disclose or distribute this e-mail without the 
author's prior permission. We have taken precautions to minimize the risk of 
transmitting software viruses, but we advise you to carry out your own virus 
checks on any attachment to this message. We cannot accept liability for any 
loss or damage caused by software viruses. Any views and/or opinions expressed 
in this e-mail are of the author only and do not represent the views of Epicor 
Software (UK) Limited or any other company within its group.


This message has been scanned for malware by Websense. www.websense.com
_______________________________________________
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

Reply via email to