mark
New Member
Posts: 24
|
limit=1
Jun 14, 2020 6:53:30 GMT -5
Post by mark on Jun 14, 2020 6:53:30 GMT -5
I was going through some code and saw this part. Does anyone know what this "limit = 1" means or does? I tried looking for it in the help files but don't see it anywhere.
'---------------------------------------------------------------
limit=1
nomainwin
'---------------------------------------------------------------
[setup.start.window]
'-----PRELOAD for start.window
' ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))}}}}}}}}}}}}}}}}}}}}}}})))))))))))))))))
' )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))}}}}}}}}}}}}))) GRAPHICS - SEC 1 OF 3
loadbmp "logo", "sight\logo.bmp"
images1$(x+2) = "logo"
loadbmp "reg", "sight\reg.bmp"
images2$(x+2) = "reg"
loadbmp "about", "sight\about.bmp"
images3$(x+2) = "about"
loadbmp "howto", "sight\howto.bmp"
images4$(x+2) = "howto"
' ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))}}}}}}}}}}}}}))))))))))) GRAPHICS - SEC 1 OF 3
' ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))}}}}}}}}}}}}}}}}}}}}}}})))))))))))))))))
|
|
|
limit=1
Jun 14, 2020 7:09:15 GMT -5
via mobile
Post by Rod on Jun 14, 2020 7:09:15 GMT -5
There is no limit command so the coder is just creating a variable with a value of one.
The coder probably intended to use it but perhaps it was not needed.
|
|
mark
New Member
Posts: 24
|
limit=1
Jun 14, 2020 7:30:56 GMT -5
Post by mark on Jun 14, 2020 7:30:56 GMT -5
Oh, Thanks Rod
added: Yes, that's what it was. I found it was used to limit the number of entries into a textbox. For some reason I thought it was something else.
|
|