constant bugged?
Posted: Tue May 27, 2003 9:50 pm
Hi ive got a odd problem,
#libstart = 20
libcount = libstart
MessageRequester("",Str(libstart),0)
shouldnt libstart = 20? its shown as 0 in the message box,
edit: well i got what i wanted working with globals, also im wondering how i could read just one line in a txt file?
i have a file setout like
Divider
html
<hr>
id like to read in the first line into a string then the second leaveing it so the next read part will be after those 2 lines.
i normally use blitzbasic but tbh blitz+ aint really enuff yet:) lol but blitz3d is still my top prog for 3d apps, any help would be great.
ps. there was a odd bug earlier, i opened each file in a loop and closed after i opened them (before i opened the next) and they were copied to my programs root folder o_O.
#libstart = 20
libcount = libstart
MessageRequester("",Str(libstart),0)
shouldnt libstart = 20? its shown as 0 in the message box,
edit: well i got what i wanted working with globals, also im wondering how i could read just one line in a txt file?
i have a file setout like
Divider
html
<hr>
id like to read in the first line into a string then the second leaveing it so the next read part will be after those 2 lines.
i normally use blitzbasic but tbh blitz+ aint really enuff yet:) lol but blitz3d is still my top prog for 3d apps, any help would be great.
ps. there was a odd bug earlier, i opened each file in a loop and closed after i opened them (before i opened the next) and they were copied to my programs root folder o_O.