On Monday 18 November 2013 17:25:28 Ivanko B wrote:
> looks OK for me.
> =========================
> Sure, since EACH "elif" can be casted  to "else if" :)
>
> But how about :
> ---------------
> if  i=0 then
>     [..]
> elif i <=0
>     [..]
> else
>     [..]
> end;
>
"
 if i = 0 then
  [..]
 else
  if i <= 0 then
   [..]
  else
   [..]
  end;
 end;
"
I do not accept your argument that elif is not nested. It *is* nested 
therefore nesting should be visible in code structure. I am sure Sieghard 
will proof the opposite. ;-)
You still didn't rebut my argument that there is no indention between "if" 
and "end;" as in "case" statement. Although that could be solved by
"
 if i=0 then
   [..]
  elif i <=0
   [..]
  else
   [..]
 end;
"
but there are 2 indents below "if" and consequently a simple "if then else" 
should be written as
"
 if i=0 then
   [..]
  else
   [..]
 end;
"

Martin

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to