Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-07

Using FPC

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Israel Simas

Hi everyone,

I'm a student of Data Processing college and in its labs i always wrote code using Turbo Pascal. For self development as a programmer, i started to search some way to study pascal at home, and found FPC. But i couldn't use it as i expected.
I've downloaded the w321010full file, and installed it as explained, but the compiling test failed. I've set the variable as recommended to... I ask you to please help me and give me hints about how to use FPC. Do i have to write code in a simple text editor and compile it in DOS mode?? My OS is Windows ME.

Thank you,

Israel Simas
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.493 / Virus Database: 292 - Release Date: 25/6/2003

Unknown author
to Israel Simas
Israel Simas wrote 8 lines
Hi everyone, I'm a student of Data Processing college and in its labs i always wrote code using Turbo Pascal. For self development as a programmer, i started to search some way to study pascal at home, and found FPC. But i couldn't use it as i expected. I've downloaded the w321010full file, and installed it as explained, but the compiling test failed. I've set the variable as recommended to...

Please explain more details what went wrong.
Also, Where did you install it ? DO NOT install under 'program files', because the GNU linker cannot handle spaces in filenames.

What did you do to compile ?

I ask you to please help me and give me hints about how to use FPC. Do i have to write code in a simple text editor and compile it in DOS mode?? My OS is Windows ME.

There is a text-mode IDE with integrated debugging. It is called 'fp'

Michael.

Bernhard Steffen
to Israel Simas: I'm a student of Data Processing college and in its labs i always wrote code using Turbo…
Israel Simas wrote
Do i have to write code in a simple text editor and compile it in DOS mode?? My OS is Windows ME.

No, you don't have to use "Notepad" as editor and compile from the command line.

You can use the integrated editor, compiler & debugger instead: If you've set your PATH variable as described in the installation instructions, you can simply start the IDE by typing "fp" in a DOS shell window (or clicking on an appropriate link on your desktop).

The IDE is a text mode program (but still a "real" Win32 program). It has an integrated compiler and some debugging features. Maybe you need to change some settings - have a look at the "options" menu.

Using this IDE should be very easy for you, if you're familiar with the Turbo Pascal IDE.

IIRC there is work done on a graphical IDE as well, but I haven't used it so far and don't know about its status of progress.

Bernhard

L D Blake
to Bernhard Steffen

In reply to your message of July 20, 2003

Show quoted text 9 lines
Israel Simas wrote: > Do i have to write code in a simple text editor and compile it in DOS mode?? My > OS is Windows ME. No, you don't have to use "Notepad" as editor and compile from the command line. IIRC there is work done on a graphical IDE as well, but I haven't used it so far and don't know about its status of progress.

Hi Bernard,
Maybe our friend would be interested in the DEVPascal implementation which can be downloaded from:

http://www.bloodshed.net/devpascal.html

It comes out of the box all set to go.

L D Blake
to L D Blake

Is it just me or are there a lot of undocumented units in FP?

Does anyone know where I can get a list of the files in each directory and what they actually do?

-----
L D Blake

Jonas Maebe
to L D Blake
L D Blake wrote
Is it just me or are there a lot of undocumented units in FP?

There are indeed a lot of undocumented units. The standard RTL units are all documented, and so is the FCL, but he packages units aren't. One reason is that most of those are simply translations of C headers, so you can use the C documentation.

Does anyone know where I can get a list of the files in each directory and what they actually do?

There is probably none. As they say: "Use the source, Luke!". Or wait until someone has found the time to write documentation.

Jonas

L D Blake
to Jonas Maebe

In reply to your message of July 21, 2003

As they say: "Use the source, Luke!". Or wait until someone has found the time to write documentation.

LOL... I hear ya!

Never was much good at reading other people's source code. Heck, I have enough problems with my own...

Thing is, I'd like to know what I've actually got before I go writing a bunch of duplicate units.

-----
L D Blake

Michael Van Canneyt
to L D Blake
L D Blake wrote 12 lines
In reply to your message of July 21, 2003 > As they say: "Use the source, Luke!". Or wait > until someone has found the time to write documentation. LOL... I hear ya! Never was much good at reading other people's source code. Heck, I have enough problems with my own... Thing is, I'd like to know what I've actually got before I go writing a bunch of duplicate units.

Look here:

http://www.freepascal.org/packages/packages.html

It contains an overview of all distributed packages, and an (empty) HTML version of the interfaces.

Michael.

L D Blake
to Michael Van Canneyt

In reply to your message of July 22, 2003

Show quoted text 9 lines
> Thing is, I'd like to know what I've actually got before I go writing a bunch > of duplicate units. Look here: http://www.freepascal.org/packages/packages.html It contains an overview of all distributed packages, and an (empty) HTML version of the interfaces.

That was very helpful... thank you.

As an old DOS/TP programmer just now getting back to coding a few small projects, I can see I've got a LOT of catching up to do.

-----
L D Blake