Re: Save Bug

new topic     » goto parent     » topic index » view thread      » older message » newer message
Andy said...

Hello,

I think this may be a bug. Whenever I goto write data to a file, my program crashes on me. Here is the code.

 
constant HP = 1 
integer handle 
sequence file, fName 
 
fName = getSaveFileName(Main,file,FrostType) 
 
 if length(fName) = 0 then 
        return 
 end if 
 
 print(handle,HP) 
 puts(handle,"\n") 
 
 close(handle) 
 

I don't see where your getting a handle from ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu