Invisionsoft
Well-known member
Hello, I am slowly converting all my If's to 1 liners, does this improve exectution spead? IMO it makes it easier to read.
I am also wondering, is it possible to execture more than one sub or function, e.g. show 2 messages boxes instead of 1 in this 1 liner:
Such as:
Thanks a bunch, folks!
I am also wondering, is it possible to execture more than one sub or function, e.g. show 2 messages boxes instead of 1 in this 1 liner:
VB.NET:
If Me.Text = "Pie" Then MsgBox("Hello")
Such as:
VB.NET:
If Me.Text = "Pie" Then MsgBox("Hello"), Msgbox("Erm, yeah..")
Thanks a bunch, folks!
Last edited: