Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1675
Number of posts: 4764

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Can't read .bas files, need to modify Posted by pkbani on 2 Jun 2009 at 1:11 PM
I have no experience in basic and just getting started, I have the need to edit a old program for my boss. He gave me all the files that he has. It's a bunch of .bas files and the .exe file of course. How do I look at the source code? I have tried notepad and winpedit but the files seam to have been saved as binary. this is program that does structural calculations and all I need to do is to add some features. I realize I might have to redo the entire thing but in order to do that I need to do some reverse engineering. I can't do anything if I can't even read the files. Any suggestions? I would really appriciate it if someone could help me figure out how to convert these to text.
thanks :)

this is what the .bas file looks like when I open it in Notepad:
TENSILE STRESS"Î2)"="FT;"KSI" ¸¢ Î
)"TENSILE STRESS"Î&)"(ALLOWED) ="FB;"KSI" 鬝 Î
)
Report
Re: Can't read .bas files, need to modify Posted by anthrax11 on 5 Jun 2009 at 4:22 PM
You should find out what version of Basic was used to edit and compile these files. Once you find this version for download, then the text editor that comes with it should be able to open these binary-mode .bas files. For starters, you could try opening the files with QBasic 4.5:
http://www.geocities.com/muratelic/qb45.htm



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.