Firetron’s FormatBoolean

1 751 Views 1 Comment 4 years ago
    • #1106
      Firetron
      Basic
      Up
      0
      Down
      ::

      HaasScript errors if you try to log a boolean like

      Log('Is Open: '..isOpen)

      You can do it by itself like

      Log(isOpen)

      But then you have to put its label on an extra log output before it.

      Is Open: true
      

      is much nicer to see in the log than

      Is Open:
      true
      
      • This reply was modified 3 years, 8 months ago by Firetron.
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free