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
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
- RISC OS London Show Report 2024 (News:1)
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
Acorn Arcade forums: Programming: BASIC reader
 
  BASIC reader
  (08:32 24/5/2002)
  Chris (08:55 24/5/2002)
  rich (08:58 24/5/2002)
    Hertzsprung (13:58 15/6/2002)
      bmsh (09:25 24/5/2002)
 
Hertzsprung Message #5122, posted at 08: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 08: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 08: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 09: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 13: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 ]
 

Acorn Arcade forums: Programming: BASIC reader