News:

  • April 29, 2026, 04:08:18 PM

Login with username, password and session length

Author Topic: FmtBit suggestion  (Read 8318 times)

Scooter

  • Jr. Member
  • **
  • Posts: 13
FmtBit suggestion
« on: October 29, 2024, 09:22:30 AM »
Would it be possible to add a format choice for the FmtBit string function that generates PASS or FAIL depending on the status of the bit?

Thanks!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: FmtBit suggestion
« Reply #1 on: October 29, 2024, 11:31:41 AM »
Would it be possible to add a format choice for the FmtBit string function that generates PASS or FAIL depending on the status of the bit?

Thanks!

Use Lookup(c0, "FAIL", "PASS")
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Scooter

  • Jr. Member
  • **
  • Posts: 13
Re: FmtBit suggestion
« Reply #2 on: October 29, 2024, 02:48:20 PM »
Would it be possible to add a format choice for the FmtBit string function that generates PASS or FAIL depending on the status of the bit?

Thanks!

Use Lookup(c0, "FAIL", "PASS")

Thanks Bob.

It was one of those situations where I could have looked it up myself if I only knew what to Lookup...  ;)