LOAD"$=T"

All aspects of programming on the Commander X16.
Post Reply
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

LOAD"$=T"

Post by unartic »

Hi!

I need the output of LOAD"$=T" from a directory with a few files and sub directoties in where the date and time format is English (USA).

Unfortunatly I can't get the emulator on my Windows pc to output it, after changing the windows regional settings.

So if someone can do this for me:

LOAD"$=T"
SAVE"LST-ENG.BAS"

and post the file back, it would be greatly appreciated ;-)
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: LOAD"$=T"

Post by desertfish »

Here you go.

But I'm curious, as to why the emulator would fail on your machine to do this? Do you get an error or does it crash?
Attachments
LST-ENG.BAS
(6.25 KiB) Downloaded 282 times
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

Re: LOAD"$=T"

Post by unartic »

Thanks!

No problems with the emulator :-) As I live in the Netherlands the default notation is dd-mm-yyyy HH:mm:ss. After changing regional settings to English USA on Windows I see the mm/dd/yyyy notation everywhere (even in a command line dir command), but within the emulator it keeps the Dutch notation. Strange enough the same happens with Dosbox for some reason.

So I just needed the listing to test my program :-)
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

Re: LOAD"$=T"

Post by unartic »

Ok, this is unexpected. The contents of your .BAS file also has 24-hour time notation.

Does this mean it is the default for Commander x16?
kelli217
Posts: 541
Joined: Sun Jul 05, 2020 11:27 pm

Re: LOAD"$=T"

Post by kelli217 »

ISO8601 date format for the win!
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: LOAD"$=T"

Post by desertfish »

I'm also from the Netherlands (STROOPWAFEL!) and my locale (on Linux) is set like so

$ date do 16 nov 2023 18:51:59 CET $ echo $LC_TIME nl_NL.UTF-8

but I would hope the regional settings is of no consequence to the format of the date/time returned in the emulator directory listing. If it is, I consider that a bug in the emulator
Post Reply