log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Upgrading your RISC OS system to 5.30 (News:2)
- WROCC May 2024 meeting on wednesday - Gerph talks games (News:)
- Wakefield Show 2024 in Pictures (News:4)
- RISC OS 5.30 arrives (News:1)
- April 2024 News Summary (News:1)
- uniprint upgraded to 4.50 (News:)
- PhotoDesk 3.23 released (News:)
- R-Comp reveals N.Ex.T Boxes - the successor to the i.MX6 (News:)
- RISCOSbits at Wakefield Show 2024 (News:)
- R-Comp releases Genealogy v2 (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: BASIC reader
 
  BASIC reader
  (09:32 24/5/2002)
  Chris (09:55 24/5/2002)
  rich (09:58 24/5/2002)
    Hertzsprung (14:58 15/6/2002)
      bmsh (10:25 24/5/2002)
 
Hertzsprung Message #5122, posted at 09:32, 24/5/2002
Unregistered user Does anyone know of a program that can convert Btokenised BASIC files into readable text on the PC? If not, does anyone know how to convert the BASIC tokens back into text?
  ^[ Log in to reply ]
 
Chris Message #5123, posted at 09:55, 24/5/2002, in reply to message #5122
Unregistered user There's a program called Bas2Txt which does this (there's a copy on the AcornSearch filebase or I can email you one). This usefully has the source included (in C), so you can derive the full list of tokens and their textual equivalent by looking at this. I've written bits and pieces in BASIC which convert text to tokens, etc, so feel free to email me if you like.
  ^[ Log in to reply ]
 
rich Message #5124, posted at 09:58, 24/5/2002, in reply to message #5122
Unregistered user Couldn't you just load the BASIC into StrongED (okay, or Zap) and then change to text mode and save the resulting text out?

If you don't have an Acorn machine nearby to do this on, why not emulate...

  ^[ Log in to reply ]
 
bmsh Message #5126, posted at 10:25, 24/5/2002, in reply to message #5125
Unregistered user You could use the PC version of Brandy <http://brandy.riscos.org.uk/> as this can read tokenised BASIC files but always saves as plain text.
  ^[ Log in to reply ]
 
Hertzsprung Message #5125, posted at 14:58, 15/6/2002, in reply to message #5124
Unregistered user
Couldn't you just load the BASIC into StrongED (okay, or Zap) and then change to text mode and save the resulting text out?

If you don't have an Acorn machine nearby to do this on, why not emulate...

I was trying to avoid doing downloading + running a (dodgy) emulator just to convert BASIC files smile

  ^[ Log in to reply ]
 

The Icon Bar: Programming: BASIC reader