Something I made - A LST to TXT converter

GFA BASIC-related articles in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
WireLord55
Atari freak
Atari freak
Posts: 52
Joined: Sun Apr 22, 2018 9:48 am

Something I made - A LST to TXT converter

Postby WireLord55 » Tue May 01, 2018 3:24 am

Hi guys,

I recently made a batch file that converts/ renames LST files to TXT files and vice versa.

In case you are wondering, the instructions are introduced

If you find a bug PM me and I'll fix it

With that said, here's the file: https://drive.google.com/file/d/1wQFaOr ... sp=sharing
Last edited by WireLord55 on Tue May 01, 2018 10:10 pm, edited 1 time in total.
"Do...or do not. There is no try" - Yoda, Episode V

User avatar
Atarieterno
Atari Super Hero
Atari Super Hero
Posts: 785
Joined: Mon Jan 18, 2016 3:40 pm
Location: Spain

Re: Something I made - A LST to TXT converter

Postby Atarieterno » Tue May 01, 2018 10:31 am

Thanks!

:cheers:
ST/fm/e, STacy, Mega ST/e, TT, Falcon, C-Lab MKX... and more music tools.

User avatar
Cyprian
Atari God
Atari God
Posts: 1488
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Something I made - A LST to TXT converter

Postby Cyprian » Tue May 01, 2018 12:14 pm

Isn't LST pure text format?
Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Aranym / Steem / Saint
http://260ste.appspot.com/

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 843
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: Something I made - A LST to TXT converter

Postby dma » Tue May 01, 2018 12:45 pm

It's more a matter of renaming than converting here, per se. ;)

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Something I made - A LST to TXT converter

Postby lp » Tue May 01, 2018 3:13 pm

' gfa notation
INPUT s$,d$
RENAME s$ AS d$
:lol:

User avatar
WireLord55
Atari freak
Atari freak
Posts: 52
Joined: Sun Apr 22, 2018 9:48 am

Re: Something I made - A LST to TXT converter

Postby WireLord55 » Tue May 01, 2018 10:08 pm

I'm so glad it has a positive responce. I wasn't sure how it was going to be taken!

dma wrote:It's more a matter of renaming than converting here, per se. ;)


But converting sounds cooler! lol

WireLord55
"Do...or do not. There is no try" - Yoda, Episode V

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2319
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Something I made - A LST to TXT converter

Postby charles » Tue May 01, 2018 11:07 pm

that's humorous lonny ,
gfa
code 2 lines ....
dos
code
how many lines long?(close to 100!!!)

backassward compatible only !
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 843
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: Something I made - A LST to TXT converter

Postby dma » Wed May 02, 2018 7:20 am

charles: Well it's not really equivalent, the man made a menu and all. :)

Anyhow, to do this kind of batch renaming, and more, on windows, i recommend using Total Commander.

...which even got a ST equivalent, actually coded in GFA! -> KK Comander (screenshots)
(not sure KK Commander does batch renaming tho)

User avatar
Rajah Lone
Captain Atari
Captain Atari
Posts: 395
Joined: Wed Aug 07, 2002 12:27 pm
Location: Lyon / France
Contact:

Re: Something I made - A LST to TXT converter

Postby Rajah Lone » Wed May 02, 2018 7:44 am

No batch function in KKcmd. May be an idea for new developments (GEMScript ?), but I have very little time and already a big project to code.

User avatar
dhedberg
Atari Super Hero
Atari Super Hero
Posts: 718
Joined: Mon Aug 30, 2010 8:36 am
Contact:

Re: Something I made - A LST to TXT converter

Postby dhedberg » Wed May 02, 2018 9:12 am

Rajah Lone wrote:No batch function in KKcmd. May be an idea for new developments (GEMScript ?), but I have very little time and already a big project to code.

/me likes KKcmd. /me likes batch conversions. :-)
If you find the time...
Daniel, New Beat - http://newbeat.atari.org. Like demos? Have a look at our new Falcon030 demo MORE.

User avatar
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2469
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol
Contact:

Re: Something I made - A LST to TXT converter

Postby spiny » Wed May 02, 2018 10:14 am

While slightly overcomplicating the task somewhat, it is a very well written batch file :)

nice work :)

User avatar
WireLord55
Atari freak
Atari freak
Posts: 52
Joined: Sun Apr 22, 2018 9:48 am

Re: Something I made - A LST to TXT converter

Postby WireLord55 » Thu May 03, 2018 2:45 am

Thanks
"Do...or do not. There is no try" - Yoda, Episode V


Social Media

     

Return to “GFA BASIC”

Who is online

Users browsing this forum: No registered users and 1 guest