• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

SetResponce as a flag?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SetResponce as a flag?

    Hello, I have a new developer who tried using setResponce as a flag in a way. Really what he was doing is setting success to false at the start of the program, then after all his validation, he sets it back to true if everything checks out.
    I never thought to do that and have never seen anyone else do that. So my question is, would that cause problems? Are there any known issues using setResponce multiple times in a button RPG program?
    Thanks.

  • #2
    Probably a bit sloppy to send the same variable back multiple times with different values, but yes the last response should take precedence.

    Comment

    Working...
    X