Re: private routines

new topic     » goto parent     » topic index » view thread      » older message » newer message

> There are times when "private routines" would be convenient.. like:

The example shows what you want to do.
I already knew this 'primal' example. Precisely what are the benefits compared
to this syntax:

atom a, b, c

function foo ()
    a = 1
    b = 2
    ..
end function

procedure bar ()
    c = a + b
end procedure


Your syntax:
> function foo( )
>   atom a, b, c
>   a = 1
>   b = 2
>   procedure bar( )
>     c = a + b
>   end procedure
>   ...
> end function

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu