Welcome Guest. Please Login or Register. Apr 6th, 2018, 12:21am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Re: Openin and Openout
« Reply #3 on: Mar 15th, 2015, 10:12pm »
Just one more point. I've managed to save the players name to file, in addition to the high score. What I was hoping for was to save the date too. I tried the following but just got a 'No such variable' instead of 'Sunday 15 March 2015' Thanks INSTALL @lib$+"DATELIB" date$ = FN_date$(mjd%, "dddd d MMMM yyyy") PRINT date$
Logged
rtr2 Guest
Re: Openin and Openout
« Reply #4 on: Mar 15th, 2015, 10:52pm »
I tried the following but just got a 'No such variable'
Well, yes, if that's the entire code then mjd% was indeed never defined, so that error is to be expected!
Do you really care about the date format? If you are prepared to use the default format that TIME$ delivers then LEFT$(TIME$,15) is a lot easier than messing about with DATELIB.
Re: Openin and Openout
« Reply #5 on: Mar 15th, 2015, 11:25pm »
Oops, silly me. I looked up TIME in the help file, saw it wasn't what I was looking for, but missed TIME$ altogether I'm more than happy with LEFT$(TIME$,15). I guess I thought the mjd% bit was already pre-defined. Thanks