[fpc-pascal] New to the list; Lots of startup questions

Jilani Khaldi jilani.khaldi1 at virgilio.it
Sun Oct 9 08:29:48 CEST 2005


Hello David,

>
> My main problem getting started with FPC has been general logistics 
> operating in a Windows environment.  I have an icon to open FPC on my 
> desktop.  If I have the programs I am working on in various 
> directories called c:\project1, c:\project2, etc., how do I configure 
> the Options/Directories to look for things in the right places and put 
> compiled code in the right places?  Do I need separate icons to open 
> FPC for each working directory?

use Dev-Pascal IDE
http://www.bloodshed.net/devpascal.html

>
> Also I did a Hello program that put the output in a DOS screen, which 
> flashed off immediately.  I got it to stay open by waiting for input 
> using the keypressed function in the CRT unit.  Is there some other way?

Just add at the end of the program:
write('Press <Enter> to quit');
readln;

>
> Where would I read to start learning about producing GUI output?  Is 
> there still the distinction between text and graphics modes as in the 
> Turbo Pascal days?  Do I need to read up on Delphi to be able to use 
> GUI features in FPC, or are there tutorials for FPC that would get me 
> there directly?

See here
http://www.freepascal.org/packages/gtk.html
http://www.lazarus.freepascal.org/

Ciao!

Jilani

-- 
// Jilani KHALDI
http://jkhaldi.oltrelinux.com






More information about the fpc-pascal mailing list