Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Odd Saving problem

Author
Message
RoyalBlood
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Stuck in this box!
Posted: 23rd Jun 2009 18:57 Edited at: 23rd Jun 2009 19:44
I'm writing kind of a simple word processor to refresh my skills since I havn't worked with DBP in awhile, and I'm having a problem when I save strings to a file...Basicly, lines 1-19 are being saved, and then 20-26 are blank. Code below and .exe attached.



AMPConcepts.webs.com

Attachments

Login to view attachments
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 23rd Jun 2009 20:19 Edited at: 23rd Jun 2009 20:24
half way down, in the input bit, u change the variable name from line to input.

I would also suggest you use a dimmed array rather than 26 almost identically named variables.

E.g.



And then someth like..



Without Music or Love the world would be a very empty place... Thank god I still have music.. --'-<@
RoyalBlood
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Stuck in this box!
Posted: 23rd Jun 2009 20:40
I cannot believe I didn't notice that. Thank you very much.

AMPConcepts.webs.com

Login to post a reply

Server time is: 2024-11-24 05:30:06
Your offset time is: 2024-11-24 05:30:06