×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

new to c#

new to c#

new to c#

(OP)
Hi,

I am new to c#.

Are there some tools to convert from gwbasic to c#?

Are there some tools to convert from cobol to c#?

Is there a utility that comments c# source that helps new people?

Thanks!

RE: new to c#

> Are there some tools to convert from gwbasic to c#?
> Are there some tools to convert from cobol to c#?
> Is there a utility that comments c# source that helps new people?
To answer your question first, I personally don't know of anything that can convert program code to C#. Even if you DID find something to do that, it would not help you if you did not understand C# well enough to interpret that code.

I suggest you start by trying out small C# programs, perhaps from a starter book, and develop them from there. The more you learn, the more you will be able to accomplish, and the more you accomplish, the more you will GLOW.

Start out with a "guess my number" game. Have the computer pick a random number, and see how many tries it will take for you to guess it.
There are tons of examples of code on the web, too.
If you have SPECIFIC questions, come on back.
Cheers!

RE: new to c#

The problem is that GWBasic and Cobol are very different languages to the C family of languages (C#, Java, etc). You basically need to look at the code, work out where the subroutines are, and whether any special features of the language are being used.

For instance, in cobol, you could code

CODE

PERFORM 0050INNER-START THRU 0080INNER-END
PERFORM 0030OUTER-START THRU 0090OUTER-END

...
0030OUTER-START..
...
0050INNER-START
...
0080INNER-END
...
0090OUTER-END 
In C#, this would have to be split into 2 routines, one calling the other. Also, everything in working storage is a global variable. You need to take the program apart and re-assemble it when doing a gwbasic/cobol conversion to C#. You need to watch out for the tricks used in the language like COBOL's move corresponding. No other language has that feature.

RE: new to c#

(OP)
if you ever saw the commenting assembler that was sold by V-communications, you would understand what I mean. The comment was really impressive smart.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close