Just so.

function plustwo (i : integer) : integer
begin
  plustwo := i + 2
end

On 10/29/07, Jochen Theodorou <[EMAIL PROTECTED]> wrote:
>
> John Cowan schrieb:
> > On 10/29/07, Jochen Theodorou <[EMAIL PROTECTED]> wrote:
> >
> >> I did read his text as that Tennent was against using multiple exit
> >> points, not that Pascal has no exit points like return/break/continue.
> >
> > In fact, though, there are no such non-local exits in Standard Pascal.
> > You can simulate a local exit with "goto", and people used to do
> > that to implement "return".
>
> ah, yes, I begin to remember...  and I think I remember, that there was
> no return too... instead you needed to have a function and assign the
> return value to the function name... something like that.
>
> bye blackdrag
>
> --
> Jochen "blackdrag" Theodorou
> Groovy Tech Lead (http://groovy.codehaus.org)
> http://blackdragsview.blogspot.com/
> http://www.g2one.com/
>
> >
>


-- 
GMail doesn't have rotating .sigs, but you can see mine at
http://www.ccil.org/~cowan/signatures

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to