Firetron’s FormatBoolean

1 522 Views 1 Comment 3 years ago
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
    • #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 2 years, 7 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