Pascal to C# conversion
Conversion is software re-engineering process. For using that, you should
know both the languages. i.e. Pascal and C#.
Why do we opt for Conversion Software ?:
1) For Better Technology
2) For Better Speed
3) For Modularity
4) For Process Optimization
1) For Better Technology :
As Pascal is very old language, some of the features are not available as
required for 3G Software like.- User Interface, Client Server Architecture
etc.. And aAs C# is 3G Language, . bBetter GUI can be made easily.
2) For Better Speed. / Process Optimization
In Some applications, Pascal is more efficient and speedy than many 3G Languages.
Eg. File Manipulation Project. But Commercial Application can not be more
efficient in Pascal. Application having extensive use of DATABASE can not
be possible with Ppascal.
3) For Modularity :
Pascal is sequential language. It is not object oriented language. Variable
declared in any Units of C# can be made available in current unit by just
including that unit on the top of the file. wWhile in c# wWhole pProject
is dDivided into Classes and hence wWithout an oObject wWe can not access
variable declared in that class. C# have access specifier like Public, Private,
Protected while fFor Pascal all variables iare s Public and can be available
every where. Reusability can not be possible up to that extent ds as it is
possible in c#.
What steps should be considered while using conversion software re-engg.
Process ?:
1) Learning and Understanding Both Languages
( C# and Pascal )
2) Data Type Mapping for both languages.
a. Match types of Variable in Pascal with
best match variable in c# ( eg . Integer in Pascal and int in c#).
b. Size of Variable.
Integer
-32768 to 32767
Int
-2147483646 to 2147483647
3) Memory Management.
As Pointer is directly supported by Pascal., dDirect implementation of pointer
is not possible in c#.. As Pascal is using stack to store all the values of
variable but c# is storing all the values in stack and heap memory.
4) File Management
File manipulation of Pascal is more efficient than C#. aAs Pascal provides
direct support of sequential file access and random file access (through index).
In C# nNo direct namespace is available for such file management function.
Another advantage of Pascal over c# is that structure (Record)
is more efficient with file manipulation. wWhile in c# Structure is just logical
bifurcation of Records.
Another advantage of Pascal over c# is that it provides better
searching facilities in file with the help of Indexes. wWhile nNo such provision
is there in c#.
5) Value Truncation (Implicit Conversion and
Explicit Conversion)
We need to considered, Value truncation at the time of using Cconversion
Software of Re-Engg. Process..
Pascal to C# Journey:
(1) We have decoded all the lines of pascal code.
(2) We have prepared Algorithm and Flow Charts of Existing Pascal
code.
(3) We have studied both languages and considered all Factors mentioned
above.
(4) We have dDecided all general Functions , wWhich will be required
in c#
(5) We have developed Code Architecture and GUI Design.
(6) Started converting writing c# Code.
Author:
By Krunal Mevada
Krunal Mevada is working as a Jr. Programmer at Semaphore Infotech Pvt. Ltd, India. He has 4 months Experience. You can contact on email: krunal@semaphore-software.com.
By Narendra Desai
Narendra Desai is working as a Programmer at Semaphore Infotech Pvt. Ltd, India. He has more than 1.5 years Experience. You can contact on email: narendra@semaphore-software.com.
Related Tags: india, windows mobile, business process outsourcing, software testing, offshore software development, consulting services, offshore outsourcing, data entry india, offshore outsourcing india, outsourcing software development, application development, offshore software development company india, it outsourcing company, website design and development, java development, net application development, vb .net application development, asp .net development, database application, system integration, search engine optimization and promotion
Your Article Search Directory : Find in Articles
Recent articles in this category:
- Improper Way Of Marketing Reflects Poorly On A Company.
New business, product or service everything requires visibility, awareness in order to come into the - Replacing Paper Prints With Online Versions
Nowadays saving out on resources and being additionally informative are both aspects that are in. In - Stop Smoking Effectively
If I told you of a way that you could stop smoking harmful tobacco would you believe it? Most people - What Is Runtime Error 182? And How To Fix It
Are you finding an effective way to fix runtime error 182? Do you think fixing runtime error 182 is - Do You Know How To Fix Runtime Error 87 In Minutes?
Are you finding an effective way to fix runtime error 87? Do you think fixing runtime error 87 is to - Knowledge About Avi, Avi Player, Avi Converter On Mac
Knowledge about AVI, AVI player, AVI Converter on MacWhat is an AVI?AVI, an acronym for Audio Video - Buy Your Highly Successful Email Survey Software Today
Email Survey Software- Boost Your Business and Increase ProfitsAn email survey software could be one - Xrm - The Anything Relationship Management Solution
I recently attended the Microsoft Dynamics West Region FY11 Sales Planning Retreat. This year's meet - What Are The Benefits Of Working With Electronic Medical Records
Recording medical information is a vital part of health care services. These records are necessary f - Basic Factor To Make Website Business Oriented
Internet is home for millions of websites. The online business is becoming more and more competitive
Most viewed articles in this category:
- Parental Control Software
Parental control software is software that can help parents protect their children when they are onl - Digital Asset Management Software
Managing and organizing your organization's documents is a critical component to your business's suc - AdobeRGB vs. sRGB
Understanding color spaces I'll try to explain it very simplified, but understandable for everyone - Confessions of a Prankster
I wanted to get a jump on April Fool's Day, partially because of the long, cold winter blues, and pa - Malicious Thoughts About The Spyware Ills Of My PC
Who would think I was capable of such revengeful thoughts about the parties responsible for inflicti - Recover File and Recover Deleted File Tools
Data recovery software is a very effective way of retrieving data from a worn or damaged hard disk d - Life without Windows
Ubuntu, a user-friendly version of Linux, has been running so nicely on my home PC that I decided to - What Benefit Does an Online Software Download Site Offer You?
Are you having a problem that where you find a good softeware when you consider to have a try or wan - Maintaining A Website
There was an era when people were talking about how to create a website using html coding or some ea - Benefits Of Proper Time Tracking
Have you ever written down time when you have started and finished your work? Maybe you have had mul