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.

FPSC Classic Scripts / Problematic Runtime.

Author
Message
Azurith Xeon
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location:
Posted: 3rd Mar 2005 04:53
I am making a small logger for a bigger program, and am running into problems.

The biggest problem is that it doesn't want to save to the file.

I can get it to create the directories and the files, but it will not save the data to the file. I'm wanting to be able to save the user's input {such as the entire keyboard input (entry$()) , so the program can exit if someone tries to tamper with it}

my source is something like this:

a$= entry$()
do
open to write 1, log.txt
write string 1, a$
close file 1
loop

I might use an array and save the array to the file, that the program could call back later, maby that'd work.

BTW, If it helps, I use Darkbasic Enhanced, V. 1.12

<img src="http://images.killermovies.com/forums/user_sigs/customsig_44841_1S.gif">
'Sufficit huic tumulus, cui non suffecerit orbis.'~~Alexander the Great's Epitaph
Coldnews
19
Years of Service
User Offline
Joined: 16th Nov 2004
Location: Liverpool
Posted: 3rd Mar 2005 05:13
is this fot FPSC (first person shooter creator)? because if it isnt, your in the wrong part of the forum. You'd get a better response on another section of the forum. Like the DarkBasic part.

www.ColdNews.co.uk - the worlds first solo band.
New coldnews single avalable from here
Azurith Xeon
19
Years of Service
User Offline
Joined: 21st Jan 2005
Location:
Posted: 4th Mar 2005 04:43
oops sorry

<img src="http://images.killermovies.com/forums/user_sigs/customsig_44841_1S.gif">
'Sufficit huic tumulus, cui non suffecerit orbis.'~~Alexander the Great's Epitaph

Login to post a reply

Server time is: 2024-03-29 15:35:51
Your offset time is: 2024-03-29 15:35:51