|
Posted by mbstevens on 10/08/06 17:47
richard wrote:
> Anyone ever tried writing a program using BASIC to write HTML?
> With Liberty Basic able to function while Windows is operating, with a
> lot more stuff than the old BASIC, I was thinking that in some cases,
> doing so might be interesting.
> Since HTML is basically text, one could write a program that would do
> all the tags and attributes for you.
>
Suggest you download a free copy of Perl, Python, or Ruby for that kind
of thing:
http://www.activestate.com/
These languages are better suited for text manipulation, and have a good
track record for creating HTML pages on the fly. You will also want a
language with regular expressions built in or in modules.
Plus, Basic encourages spaghetti code. Any program of reasonable size
becomes hard to understand. If you are an absolute beginner I suggest
Python.
[Back to original message]
|