Google Answers Logo
View Question
 
Q: Need Simple Programming Language ( No Answer,   12 Comments )
Question  
Subject: Need Simple Programming Language
Category: Computers > Programming
Asked by: softballkid-ga
List Price: $5.00
Posted: 07 Nov 2005 07:00 PST
Expires: 07 Dec 2005 07:00 PST
Question ID: 590090
Hi,

I don't have a lot of PC progamming experience and I need to find a
very simple programming language, that will run on Windows XP, that
will:
1. request users to input some data (via some sort of pop-up window)
2. open a text file and using find/replace logic replace found text
with data from first step
3. and finally to execute a program via the command prompt that will
use the edited text file from the second step.

I would like to use free software if possible. I would normally use VB
for this but I do not have access to it so it is out of the question.
I heard that BASIC comes standard with Windows. Is that true? And if
so, it is easy to code?

Thanks!
Answer  
There is no answer at this time.

Comments  
Subject: Re: Need Simple Programming Language
From: philnj-ga on 07 Nov 2005 07:09 PST
 
BASIC has not come standard on PCs for probably close to 15 years. 
Microsoft BASIC was one of the first products that started Bill Gates
on his way.  And he has been charging for it ever since.
Subject: Re: Need Simple Programming Language
From: dmrmv-ga on 07 Nov 2005 10:27 PST
 
You might want to look at Python: http://www.python.org
Subject: Re: Need Simple Programming Language
From: computer_girl-ga on 07 Nov 2005 13:18 PST
 
if i were you i would use c++ its easy and siple and does what you
want and you can use any of the compilers :: devc or borland or rhide
all of them work on Windows XP
Good luck
Subject: Re: Need Simple Programming Language
From: pauloacosta-ga on 07 Nov 2005 15:46 PST
 
My Suggestion Is to use PHP

Reason 1 - Is Free
Reason 2 - You can give access for all your users (All Php programs
can run on Internet)

http://www.php.net, in this site you can find the language, samples,
and help for all your questions.
Subject: Re: Need Simple Programming Language
From: finster27-ga on 08 Nov 2005 11:40 PST
 
My suggestion is to use Perl. Perl gets a bad rap as being really hard
to learn, but for you want to do, it really is going to be the
simplest path. You can download and install ActivePerl from
www.activestate.com, and just go through the installation and Perl
will be ready to go. Not really anything to configure or change in
order to be ready to do what you need to do.

Parsing through a text file is VERY simple to do in Perl. A couple
good books that will get you going with what you are trying to do in a
few minutes are O'Reilly's "Perl Cookbook" and "Learning Perl".

PHP isn't a bad choice, either, but I find that on a Windows machine,
ActivePerl is just MUCH simpler to install and get up and running. No
fussing with config files and crap like that. Just install and write
code.
Subject: Re: Need Simple Programming Language
From: mathtalk-ga on 08 Nov 2005 12:14 PST
 
I'll second the recommendation of Perl for this specific kind of task.
 It's a natural fit for search and replace functions, and there are
many books/tutorials/code snippets lying around to help out.

Python is another favorite with me, so if this were a more generic
programming project, I'll probably recommend that.

regards, mathtalk-ga
Subject: Re: Need Simple Programming Language
From: softballkid-ga on 08 Nov 2005 13:16 PST
 
Hi,
I went to the activestate website and it seems to me that Perl is not
free. Is that correct?
Subject: Re: Need Simple Programming Language
From: softballkid-ga on 08 Nov 2005 13:29 PST
 
Hi,
I found the free download. Sorry! I do have a couple of questions though:
1. will PERL build an .EXE for me to move to a user's PC's?
2. Do I need to install PERL on all of my user's PC's
Subject: Re: Need Simple Programming Language
From: mas445-ga on 08 Nov 2005 14:46 PST
 
You will need to install Perl in each PC you want to do this in. Note
that perl is a scripting language, meaning it is interpreted, not
compiled. So you cannot make an executable with perl. If you are fine
with data entry through a command prompt, then this will be very
simple code.

If you need a GUI, then you can use one of the Perl Win32 GUI
extentions, like this one:
http://sourceforge.net/projects/perl-win32-gui

Do a google search on "Perl win32 gui", and you'll see a bunch of options.

If you really need an executable (.exe file), I would recommend using
C++ compiled with GCC (http://gcc.gnu.org/). GCC is free and a C++
program will compile into an .EXE file.
Subject: Re: Need Simple Programming Language
From: mathtalk-ga on 08 Nov 2005 15:11 PST
 
If you want to create standalone Win32 executables, and you already
know BASIC, check out the assortment of free BASIC compilers for
Windows here:

http://www.thefreecountry.com/compilers/basic.shtml

regards, mathtalk-ga
Subject: Re: Need Simple Programming Language
From: larkas-ga on 15 Nov 2005 09:34 PST
 
I would add Lazarus (with FreePascal compiler). Emulates Delphi and if
you used Visual Basic you will feel at home with Lazarus. Compiles to
.exe nothing to distribute. Free and open source. Cross platform to if
you ever need it.

See:

http://www.lazarus.freepascal.org/


or SharpDevelop with Visual Basic.net (compiler itself without the IDE
available for free from Microsoft as part of .Net framework SDK with a
lrage download), but it would require users to install the .Net
framework

http://www.icsharpcode.net/OpenSource/SD/ (SharpDevelop)
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b3a2ca6-3647-4070-9f41-a333c6b9181d&displaylang=en
Subject: Re: Need Simple Programming Language
From: moebious3334-ga on 19 Jan 2006 14:06 PST
 
I would go with Python. since you will run it on windows I would get
it from activestate here
http://www.activestate.com/Products/ActivePython/. Programs can be
compiled into an install program that can be installed on the users PC
without the need to have Python installed. It is Free. It is easy. It
is cool.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy