Pascal to Html

If there is a way that I can transfer pascal to a HTML file??
Who is Participating?
mheacockConnect With a Mentor Commented:
What do you mean exactly?  To show a Pascal listing in an HTML file?  HTML is not a programming language, therefore you could not translate Pascal to HTML.  HTML is akin to the old DOS Word Processors (i.e. Word Perfect).  All HTML does is format text, images, and links into a (sometimes) pleasing look.
I have been searching for the same "answer". Apparently there is a way to do this in using Pascal and C together. It may be easier to simply learn perl and .cgi. I would also look into Delphi. If you know and understand one language (Pascal), it then becomes easier to learn and understand other programming and script languages.
If you mean displaying Pascal code as an HTML file, the short answer is to prepend this:
<HEAD><TITLE>Some Pascal code</TITLE></HEAD>
put your source code in here, and then append this:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.