Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random number problem
#1
can anyone help with this theres an annoying pop up stopping my macs from runnin and it comes up with random number between 0.001 and 30,000,000 if the number are between 0.001 and 15,000,000 you need to type that number in the edit box and if there between 15,000,000.001 and 30,000,000 you need to just click ok heres what i have and dont see why it isnt working and oh yeah you need to press ok when a zero comes up so u cant just do

str c.getwintext(id(1 "Pop"))
if (c<15,000,000)
,outp "error"id(4"Pop")
,men 2 win("Pop")
else
,men 2 win("Pop")

code

act "Pop"
int a= "0.001"
int b= "15,000,000.00"
str c.getwintext(id(1 "Pop"))
if(c<a)goto g1
else
,outp "error"
g1
if(c>b)
,_s=c; _s.setwintext(id(4 "Pop"))
else
,outp "error"id(4"Pop")
,men 2 win("Pop")


Forum Jump:


Users browsing this thread: 1 Guest(s)