Solved

Pascal to Basic converter

Posted on 1998-06-08
6
4,119 Views
Last Modified: 2012-06-27
Does anyone know of a (Turbo) Pascal to (Visual) Basic converter?
0
Comment
Question by:asterflower
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 2

Expert Comment

by:omsec
ID: 1215312
sounds a bit "strange" because Turbo Pascal is for DOS and Visual Basic for Windows. As i know VB is a RAD-IDE (rapid aplication development), i think u would have to "translate" it manually
0
 
LVL 3

Expert Comment

by:daitt
ID: 1215313
There's no any Turbo Pascal to Visual Basic converter, because a converting like that seems to be unnessesary. There's no relationship between Turbo Pascal (a simple compiler for DOS programming) and Visual Basic (an Visual IDE for Windows programming) because their outputs, running modes and environments are different (screen vs. windows, real mode vs. enhanced mode, DOS vs. Windows). Another diferrence is that the libraries (Turbo Pascal uses Unit vs. Visual Basic uses DLL). So we can say that it's unable to built a acceptable Turbo Pascal to Visual Basic converter. If you want to convert only for understanding source code (because you only know Visual Basic), my advice is that you should learn Turbo Pascal (it's very easy to learn). If you want to convert for making a Windows application from a DOS program (but you couldn't use Visual Basic), my advice is that you should learn Visual Basic and write another application (because you will find out that the old program is much strange to Windows programming rules). And Visual Basic is easy to learn, too.
0
 

Author Comment

by:asterflower
ID: 1215314
I am converting some data acquistion programs that were written in Turbo Pascal (DOS) to the Visual Basic subset in Excel (Win95/Mac).  Was looking for some pre-processing/converter that would save time. Kown both languages, and the answer was not to my question, but trying to give advice. Thanks anyway.  Ron H.
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
LVL 51

Expert Comment

by:ahoffmann
ID: 1215315
There's a pretty good pascal to C converter: p2c .
It's available with sources and highly configurable.
Not exactly what you are looking for, but probably you manage to adapt it to become a p2vb .
0
 
LVL 1

Accepted Solution

by:
winsumpu earned 100 total points
ID: 1215316
i have a pascal to asembly converter & recently my friend to me that there is a converter from asembly to qbasic converter.  maybe u can use the qbasic file later on to convert in VB manually.  if u want the p to a and a to q converter please comment.
0
 

Expert Comment

by:mjohnm
ID: 20072040
I too am interested in a Pascal to VB converter. Some of you seem to think that strange but I (and I am sure many others) have a lot of programs written in Pascal for DOS and now want the same functionality in Windows. My programs do a lot, lot more than simply drive the user interface; they perform calculations, data manipulations etc. - such things are not tied to DOS or Windows! I reckon that >98% of my Pascal code can be converted to VB - i.e. does not involve calling DLLs or running the user interface. A converter would save a tremendous amount of work.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for…
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question