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.

DarkBASIC Discussion / Question re. Read Data in this code. Help needed

Author
Message
DemonHill
17
Years of Service
User Offline
Joined: 20th Mar 2008
Location:
Posted: 23rd May 2008 13:46 Edited at: 24th May 2008 01:41
Hi,

Very basic I know and whilst I have search the forum and seem other examples of READ / DATA I just can't get this working.








Any help greatly appreciated, funny how simple stuff does yoru head in
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 23rd May 2008 14:52
Always put your data statements at the very end of your program.

And please use the code boxes when you post snippets. Not so important with very short ones but they are easier to read as you don't lose the indentation.



TDK_Man

DemonHill
17
Years of Service
User Offline
Joined: 20th Mar 2008
Location:
Posted: 23rd May 2008 20:12 Edited at: 24th May 2008 01:42
TDK,

You may recognise the addition code from your GUIDEMO, however I still can't get the READ/DATA to work.. see code please #Include "GUI.dba"

DemonHill
17
Years of Service
User Offline
Joined: 20th Mar 2008
Location:
Posted: 23rd May 2008 20:14
Can't figure out how to enter Code Snipet box as you can see, appologies again... how do i do that pls ?
Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 24th May 2008 00:00
When you input your code.



DemonHill
17
Years of Service
User Offline
Joined: 20th Mar 2008
Location:
Posted: 24th May 2008 00:26
TDK any ideas ? doesnt seem to READ data thx


TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 24th May 2008 01:40
By 'at the end of your program' I mean at the very end - not after the End statement - as in:



TDK_Man

Login to post a reply

Server time is: 2025-06-06 17:35:28
Your offset time is: 2025-06-06 17:35:28