Quote: "Plus. I'm the one who wrote the code. I have a right to ask about it. Not arguing. just saying."
I'm sorry, but in that code, there is no evidence of you trying to stop the variables being set, you haven't even talked about anything you've tried. Quoting you:
Quote: "The PROBLEM is, I would like to use a boolean for each set spinner code to stop it from repeating set spinner over and over and over."
Well if you'd like to, then do it, have a bash at it at least before asking for help. I'm not having ago but you need to at least try to solve it. For instance your other thread, i'll quote the question:
Quote: "Hi all. I want to create an evaluation version (trial version) of my software I'm about to release, and would like to write the amount of days remaining til expiration of my product at a selected amount of days.
here's the code:
"code"
date$=get date$()
day$=mid$(date$,4)+mid$(date$,5)
month$=mid$(date$,1)+mid$(date$,2)
year$=mid$(date$,7)+mid$(date$,8)
do
text 20,20,day$+month$+year$
loop
function DaysRemain(day$)
daysremaining = ?
endfunction daysremaining
"/code"
"
The bit you wanted was left blank with a question mark, it's like you didn't even have a go. You just asked what you wanted... this is why it takes awhile for people to respond.
Also it would help us if you cleared up your questions a bit and just talked about the root issue. It being trying to stop constantly setting variables every loop when a check variable = 1 and _picked variable > 0. We can simply chuck away everything else and deal with the core issue. So the answer:
check = 1
do : cls
_lastPicked = _picked
_picked = mouseclick()
if check
if _picked <> 0 and _lastPicked <> _picked
// update somethings once
endif
endif
sync
loop
You can actually do it a ton of other ways.
Quote: "Also what is a spinner?"
A spinner is a GUI gadget:
A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.