#!/bin/perl # Armpi3 assembly source to BASIC converter. # Usage: s2bas # Tab characters must be converted to spaces. This is automatically done if # the output is sent to a taskwindow and if you save the content to a file. while (<>) { &conv($_) } die "WHILE without WEND\n" if ($wh ne ''); print "DIM code% 2048, D% 13\n",$rn; print <