Jump to content

Posting Code? README - code cleaner tool!


Recommended Posts

As many of you know, cut-and-pasting into "CODE" blocks sometimes "eats" the leading whitespace characters that batari BASIC depends on, especially if you're avoiding the use of line numbers (a good practice!)


So I've created a tool:

AAbBCc - the Atari Age batari BASIC Code Cleaner


Cut and paste your code into that app, press the button, and it will double up leading spaces. That's the safest way I've found so far of preserving the crucual aspects of the code, but I'm open to suggestions -- I tried using the HTML nonbreaking space ("& n b s p ;" (as a single statement of course)) but it didn't work, it just showed that as a literal string inside the code block.


Comments and Improvements welcome. I will talk to Al about the chances of making this tool completely obsolete by improving the "code" parsing that AA forums do on their own.

Edited by kisrael
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.

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.


  • Recently Browsing   0 members

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