Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Francisco Reyes
Pete Cervasio writes: Contents of $HOME/.vim/filetype.vim: Thanks. Found that it also works with .pas Changed the programs to that since that is one of the extensiosn the compiler also checks for. ___ fpc-pascal maillist - fpc-pascal@lists.freep

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Pete Cervasio
On Saturday 09 June 2007 18:46:17 Francisco Reyes wrote: > Daniël Mantione writes: > > It doesn't look for .p by default. Rename to .pas or .pp. > > Ok thanks. > Using .p because that is what vim checks for. Will figure out how to change > vim to look for .pp for the coloring. Contents of $HOME/.v

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Francisco Reyes
Daniël Mantione writes: It doesn't look for .p by default. Rename to .pas or .pp. Ok thanks. Using .p because that is what vim checks for. Will figure out how to change vim to look for .pp for the coloring. ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Luca Olivetti
En/na Rick Seiden ha escrit: It's what I like to call a pass through server. My ISP won't let me send email unless I'm on their network (at home). So, I have a server I wrote in VB that listens for a connection on a non standard port. When connected, it connects to my ISP's SMTP server. Anyt

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Rick Seiden
It's what I like to call a pass through server. My ISP won't let me send email unless I'm on their network (at home). So, I have a server I wrote in VB that listens for a connection on a non standard port. When connected, it connects to my ISP's SMTP server. Anything it gets from the email c

Re: [fpc-pascal] installing latest stable

2007-06-09 Thread pineal
On Friday 08 June 2007 18:46, Daniël Mantione wrote: > Op Fri, 8 Jun 2007, schreef pineal: > > I have downloaded a tar archive, > > > > fpc-2.1.4.i386-linux.tar > > > > there are no install instructions that I can find. Can anyone give me > > some guidance or perhaps a link. > > Please a look at th

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Daniël Mantione
Op Sat, 9 Jun 2007, schreef Francisco Reyes: > FreePascal doesn't look in the current directory by default? > I had to use > uses > HelloWorld in 'HelloWorld.p'; ___ It doesn't look for .p by default. Rename to .pas or .pp. Daniël___

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Francisco Reyes
Leonardo M. Ramé writes: With Object Pascal (and Pascal), you can divide your program in units, then use those units in a program. Thanks for the example! uses HelloWorld; // this includes HelloWorld into your program FreePascal doesn't look in the current directory by default? I had to

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Joao Morais
Francisco Reyes wrote: Michael Van Canneyt writes: Both Turbo Pascal's Object Pascal and Delphi's object pascal are supported, depending on which mode you compile in. If I have a class like: program myclass; type THelloWorld = class procedure Put; end; var HelloWorld: THelloWorld; p

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Leonardo M. Ram
Francisco, that's not only a class, it's a Program containing the THelloWorld class. With Object Pascal (and Pascal), you can divide your program in units, then use those units in a program. Example: Unit HelloWorld; interface type THelloWorld = class

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Leonardo M. Ram
Are you trying to create a Peer-To-Peer architecture?, something like Windows Messenger?. I don't know how to implement that type of architecture, you can do a simple google search to find examples, but since it uses socket communications you can implement it using lNet or Synapse libraries wit

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Francisco Reyes
Michael Van Canneyt writes: Both Turbo Pascal's Object Pascal and Delphi's object pascal are supported, depending on which mode you compile in. If I have a class like: program myclass; type THelloWorld = class procedure Put; end; var HelloWorld: THelloWorld; procedure THelloWorld.Put

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Rick Seiden
Any tutorials out there on using Event Driven programming with Free Pascal? I'm hoping to create a server/client combo that will need to respond to both input from the client part, and input from the server part my server/client combo app +--+ User --

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Michael Van Canneyt
On Sat, 9 Jun 2007, Francisco Reyes wrote: > Leonardo M. Ramé writes: > > > After reading the tutorial suggested by Daniel, you sould go to > > http://en.wikipedia.org/wiki/Delphi_(programming_language) and follow a link > > to "object pascal > > language guide" to learn Object Pascal. > > Loo

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Francisco Reyes
Leonardo M. Ramé writes: After reading the tutorial suggested by Daniel, you sould go to http://en.wikipedia.org/wiki/Delphi_(programming_language) and follow a link to "object pascal language guide" to learn Object Pascal. Looking at http://en.wikipedia.org/wiki/Object_Pascal I see there are

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Leonardo M. Ram
After reading the tutorial suggested by Daniel, you sould go to http://en.wikipedia.org/wiki/Delphi_(programming_language) and follow a link to "object pascal language guide" to learn Object Pascal. --- Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > Op Sat, 9 Jun 2007, schreef Aruna Goke: >

Re: [fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Daniël Mantione
Op Sat, 9 Jun 2007, schreef Aruna Goke: > I am completely new to programming and I have been watching this list over > some few months. > > I would be glad, if i can get a link to where I can get a book to download in > order to learn pascal. Here is an on-line tutorial: http://www.taoyue.com

[fpc-pascal] PASCAL programming for Novice

2007-06-09 Thread Aruna Goke
I am completely new to programming and I have been watching this list over some few months. I would be glad, if i can get a link to where I can get a book to download in order to learn pascal. Can someone tell me where i can get free pascal compiler for ms-windows goksie ___

Re: [fpc-pascal] FPC only 32 bits?

2007-06-09 Thread Marco van de Voort
> Marco van de Voort writes: > > > It is possible to create a binary for amd64, but that binary doesn't work, > > and I don't know why. FreeBSD keeps complaining it can't execute it. > > > Marco, since you were able to do this cross compile once, doesn't that mean > you have the cross-binutils