Python Forum
How to make an activation flag?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an activation flag?
#3
(Oct-11-2018, 01:19 PM)Krszt Wrote: But it just write out the else statement: NO
Where is my mistake?


Show us how you assign the value of activation_flag before that if statement. Wild guess - it's a str and that is why '1' != 1
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
How to make an activation flag? - by Krszt - Oct-11-2018, 01:19 PM
RE: How to make an activation flag? - by ichabod801 - Oct-11-2018, 01:21 PM
RE: How to make an activation flag? - by buran - Oct-11-2018, 01:40 PM
RE: How to make an activation flag? - by Krszt - Oct-11-2018, 01:49 PM
RE: How to make an activation flag? - by nilamo - Oct-11-2018, 09:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Big Grin Variable flag vs code outside of for loop?(Disregard) cubangt 2 1,218 Mar-16-2022, 08:54 PM
Last Post: cubangt
  how to check for thread kill flag nanok66 1 2,225 May-09-2020, 10:06 PM
Last Post: nanok66
  Check for a special characters in a column and flag it ayomayam 0 2,084 Feb-12-2020, 03:04 PM
Last Post: ayomayam
  Using a flag error blackjesus24 1 1,652 Jan-30-2020, 09:42 AM
Last Post: buran
  Identifying string success flag graham23s 4 3,179 Aug-14-2019, 09:27 PM
Last Post: graham23s
  Practicing using a "flag": please point in right direction magsloo 5 3,160 May-10-2019, 04:58 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020