Jump to content
IGNORED

Printing


Recommended Posts

10 hours ago, Alex Landry said:

I would like to be in DOS and do this.

 

c

text.txt, s:

 

This gives me an Error 130

What can I do to resolve this.

 

Thanks 

 

Alex

 

I believe the error 130 is because no filename was specified for the S: (screen) device.  Try this:
c

text.txt, s:text.txt

Link to comment
Share on other sites

Error 130 is handler doesn't exist.  You need an uppercase S.  Filename shouldn't be needed, all of the OS-resident handlers ignore them anyway.

 

I used to do such things a lot with S: - easy way to see what's in a file without erasing your program in memory.

My preference is for S: over E: - put up with the cursor residuals, as it's usually less annoying than the E: behaviour which is to process every control character - backspace, delete line, move cursor etc. which can turn it into an unreadable experience.

 

Also in Dos 2.x do it without allowing to use program memory - it's usually more desirable anyway to have the short buffering/print sequence as you'll usually just hit Break once you work out what the data is anyway.

Edited by Rybags
  • Like 1
Link to comment
Share on other sites

12 hours ago, Alex Landry said:

I would like to be in DOS and do this.

 

c

text.txt, s:

 

This gives me an Error 130

What can I do to resolve this.

 

Thanks 

 

Alex

 

Edit: Deleted ..

Same answer provided by @Rybags.

madi

Edited by Madi
no need
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...