Solved

Pascal to Basic converter

Posted on 1998-06-08
6
3,982 Views
Last Modified: 2012-06-27
Does anyone know of a (Turbo) Pascal to (Visual) Basic converter?
0
Comment
Question by:asterflower
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now