Results 1 to 40 of 2075

Thread: TwinBasic

Threaded View

  1. #11
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,671

    Re: TwinBasic

    About the ternary that you propose, I can't think where I would need that.

    Also, in VB6 it can be done like this:

    Code:
    If condition Then a = 10 Else b = 10
    But the other one, could have some uses IMO:

    Code:
    FontName = If(nFont is Nothing, "Arial", nFont.Name)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width