|
Home > Archive > SQL Anywhere Feedback > February 2006 > End the END confusion
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
End the END confusion
|
|
| Justin Willey 2006-02-14, 9:23 am |
| Can the whole business of END IF, ENDIF, END, END CASE be rationalised?
Does the distinction between ENDIF for expressions and END IF for statements
serve any useful function? Similarly the distinction between END for case
expressions and END CASE for case statements.
Ideally, just END would be accepted for any of these; if that's not
possible, at least could END IF and ENDIF be interchangeable?
I think this change would get heartfelt thanks from all those who've wasted
hours looking at code trying to spot the obvious mistake!!
Justin Willey
| |
| Breck Carter [TeamSybase] 2006-02-14, 9:23 am |
| End END Confusion! ...I'm all for it.
Breck
PS this reminds me of an old Dilbert cartoon in which he points out
that yet *another* protest sign has been erected: "End Road
Construction".
On 14 Feb 2006 07:39:48 -0800, "Justin Willey"
<gjw@nospamatall.iqx.co.uk> wrote:
>Can the whole business of END IF, ENDIF, END, END CASE be rationalised?
>
>Does the distinction between ENDIF for expressions and END IF for statements
>serve any useful function? Similarly the distinction between END for case
>expressions and END CASE for case statements.
>
>Ideally, just END would be accepted for any of these; if that's not
>possible, at least could END IF and ENDIF be interchangeable?
>
>I think this change would get heartfelt thanks from all those who've wasted
>hours looking at code trying to spot the obvious mistake!!
>
>Justin Willey
>
--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
|
|
|
|
|