Maths Functions

Latest Information on Sim Innovation's flagship product Air Manager

Moderators: russ, Ralph

Message
Author
User avatar
Keith Baxter
Posts: 4671
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Maths Functions

#11 Post by Keith Baxter »

Corjan wrote: Tue Jun 29, 2021 1:02 pm Hi,


Node that the my_lib_1_init() function is nothing special, it is a regular lua function.
The wiki page describes a way you could organize your libraries.

So doing 'visible(master_init(),false)' will fail since the master_init won't return a value, but will return nil instead by lua standards.
And the visible function won't accept a nil for its first argument.

You could let the my_lib_1_init() return a group, that one you can use with the visible function.


Corjan
Thank you for that Corjan.

I will try it on an instrument some time.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
jph
Posts: 2846
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Maths Functions

#12 Post by jph »

Keith Baxter wrote: Tue Jun 29, 2021 1:06 pm Thank you for that Corjan.
I will try it on an instrument some time.
Keith
I didn't know you could play the piano ? :lol:

hey :D you started it haha ;)

(Hugs Bro :) )
Joe
Joe. CISSP, MSc.

AnthonySullivan
Posts: 91
Joined: Wed Jul 01, 2020 8:06 am

Re: Maths Functions

#13 Post by AnthonySullivan »

Thanks Ralf,

I will make sure to look in Lua 5.3

regards
Anthony

Post Reply