`.$ .txt2bas` fails

This is where most of us started. Classic Spectrum basic.

Moderator: Programming Moderators

User avatar
programandala.net
Posts: 45
Joined: Thu Nov 02, 2017 11:55 am
Location: Spain
Contact:

`.$ .txt2bas` fails

Postby programandala.net » Sat Apr 10, 2021 11:28 am

The following code fails at line 20 with "No such file or dir":

Code: Select all

10 let f$="file.txt"
20 .$ .txt2bas f$
It fails also in the command line.
Of course <file.txt> exists, and `.txt2bas file.txt` works fine.

`.txt2bas` doesn't work with `.$`? Is it known?
Marcos Cruz (programandala.net)

User avatar
emook
Posts: 95
Joined: Mon May 29, 2017 6:55 pm

Re: `.$ .txt2bas` fails

Postby emook » Tue Apr 13, 2021 11:00 pm

you dont require the . on txt2bas.

try .$ txt2bas f$
---------
ZXorDIE
http://zxbasic.uk/nextbuild/ NextBuild
http://zxbasic.uk ZXBD Snapshot uploader
http://zxbasic.uk/db/0 ZXBasic Online Database

User avatar
programandala.net
Posts: 45
Joined: Thu Nov 02, 2017 11:55 am
Location: Spain
Contact:

Re: `.$ .txt2bas` fails

Postby programandala.net » Wed Apr 14, 2021 2:55 pm

The help text of `.$` is clear, but somehow I missed that dot when I read it! Thank you.
Marcos Cruz (programandala.net)


Who is online

Users browsing this forum: No registered users and 3 guests