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 / username and password program.. plz help, anybody :)

Author
Message
Demo
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: australia
Posted: 3rd May 2004 10:05
hi, I want to make a program which reads a list of usernames off a .txt file

the code i have got atm is in the source..

The thing is i cant put the list of names in
the DATA function .. eg

cat$ = "hello"
data 1,2,3,cat$
read d$

this does not work so how do i do it??
if someone knows what i am trying to do could you plz help me
if im completely on the wrong track then can u show me ur code??
thanx

sEriously..
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd May 2004 10:13
DATA is the info you're retrieving, you dont write info to it.

This will pring "hello world" on the screen



And if you check out my database tutorial, it'll show you how to read and write to text files.
http://www.dbspot.com/krytek/darkbasic_tutorials.htm

"eureka" - Archimedes
Demo
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: australia
Posted: 3rd May 2004 10:42
thanx heaps aye

sEriously..
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd May 2004 14:17
easily read and write files, including ini files, with our fully documented plugin.
click the logo below


** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!

Login to post a reply

Server time is: 2024-09-22 08:30:16
Your offset time is: 2024-09-22 08:30:16