Defining Functions / Procedures

2021-12-09 Thread Duke Normandin
Greetings .. function hello =lambda() {} or void hello() {} In Pike, which form is prefered or optimal? Why? TIA ... -- Duke ** Text only please. Bottom post is best. **

Re: Defining Functions / Procedures

2021-12-09 Thread Chris Angelico
On Fri, Dec 10, 2021 at 1:10 PM Duke Normandin wrote: > > Greetings .. > > function hello =lambda() {} > > or > > void hello() {} > > In Pike, which form is prefered or optimal? Why? > TIA ... Definitely the second, unless you need it to be a variable. ChrisA

Re: Defining Functions / Procedures

2021-12-09 Thread Duke Normandin
On Fri, 10 Dec 2021 15:28:59 +1100 Chris Angelico wrote: > On Fri, Dec 10, 2021 at 3:06 PM Duke Normandin > wrote: > > > > On Fri, 10 Dec 2021 14:09:21 +1100 > > Chris Angelico wrote: > > > > > On Fri, Dec 10, 2021 at 1:10 PM Duke Normandin > > > wrote: > > > > > > > > Greetings .. > > > > > >