Richard Ward writes:
Where/why would one use a typed constant vs. a variable. i.e.
Any time you have a value you want to have in an accessible holder, but want
to ensure you will not change it's value by mistake.
It seems to me the typed constant is superfluous and can potentially
lead
Richard Ward writes:
Interestingly, I was going over the lang ref guide last night and
found that the case sensitivity is mentioned in section 1.3 for
I think from seen this new thread and a few other posts that there is some
confusion.
When I posted my sample code I had the unit name an
Tomas Hajny writes:
Note that although having the unit named equally to a function, procedure
or a variable defined within the unit (or elsewhere) is not really
advisable, it is possible, but you need to take scoping rules into account
Thanks for the note. I wasn't purposedly trying to do it t
Michael Van Canneyt writes:
It may help newcomers like myself if this was mentioned on the ref document.
Just double checked and it does not mention this.
It most certainly does: see the section on reserved words, first paragraph.
In the ref document? Page10? Section 1.3?
Just looked there a
Mehmet Erol Sanliturk writes:
Unit and function names DebugPrint are the same .
Pascal is case insensitive . Making their cases different does NOT
make them different .
Please make them different and retry .
Thanks. That worked.
It may help newcomers like myself if this was mentioned on the
Trying my first unit and getting an error I can't figure out.
--- unit
unit debugprint;
Interface
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn: string):string;
Implementation
function DebugPrint(ProgLevel, CallLevel:integer; MessageIn: string):string;
begin
if ProgLevel>=
Michael Van Canneyt writes:
I'll add more examples.
Thanks.
I will also go over the existing unit documentation and send you some
thoughts and suggestions from a newbie's point of view. Often what is clear
to an experienced developer is not so clear for a newcomer.
All Free Pascal sources
I am finding many contributed units with broken links to both the code and
the homepage URL.
A few thoughts. We could clean all entries to which both the code and the
refering URL are broken. We could email the author and give them a week or
two, but if we get no replies then we should remove
Michael Van Canneyt writes:
What is not clear ?
For starters I don't really follow the diagrams in the ref document. It
probably is some type of formal definition, but I am neither familiar with
it, nor seem to get it. Even when I look at a simpler case like procedure
declaration I can't fo
Mattias Gaertner writes:
Units is the right way.
And even better: create a lazarus package for the new units.
Most of what I do is CLI, have not even installed lazarus.
Could someone doing CLI use a lazarus package?
What advantage of doing a lazarus package over just making it a unit?
Right
Could anyone share sample code for a unit?
Looking at the ref.pdf I don't really follow it.
The examples included are not meaningful to this pascal newbie. :-(
Alternative any unit package on the site that may be a good example would be
just as great.
As I work on a small program I find parts
What are my options for code reuse?
Creating units for common code?
Any other method?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys writes:
Anybody know of a printing company in South Africa that will be
willing to do a once off print?
Searching google for
book printing small quantities
Returned a decent list. I think it would only be a matter of seeing which
one is closer to you or can deliver to your
Paul Nicholls writes:
Hi Francisco, regular arrays can start at whatever index you want:
Var
MyArray1 : Array[1..3] Of Integer;
Thanks for the info and examples.
Dynamic Arrays :
MyDynamicArray : Array Of Integer;
..
These always start with a zero index.
This is very usefull too
Getting back to Pascal.. Aren't pascal arrays 1 based?
As I get myself re-acquainted with pascal I am working on a small open
source utility. Bumped into something that confused me.. It seems
TStringList.DelimitedText produces an array that starts at zero, but from
what I can tell regular arra
Fantomas writes:
As far as I know, global variables are initialised with zeros when an
application starts.
Gives a warning when I don't initialize it.
split.pas(31,55) Warning: Variable "Values" does not seem to be initialized
FillChar(Values,SizeOf(Values),0)
That worked.
However, for
On the following URL,
http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212,
I found some different syntax to initialize an array.
Examples there..
var
c1 : array[1..10] of char := '123456';
int2 : array[1..100] of integer := [50 of 1, 50 of 2];
Tried those, but didn't se
Tomas Hajny writes:
I'm not sure if Francisco meant the Reference Guide or possibly some
examples appearing in the other documents;
I was looking specifically about the rtl pdf.
if it's the latter, a more concrete example would be probably useful.
Where are the examples? I recall seem the
Michael Van Canneyt writes:
The unit name is always displayed on the top of the page.
Thanks for pointing it out. Every time I have used the rtl.pdf I have used
primarily the search function and had never noticed that.
or Delphi. Regular functions do not need a mode at all.
This is a simpl
Whether coming from Delphi or a totally new to pascal user there are a
couple of changes we could made to the documentation to make it friendlier
and to posts we make on the list.
I was thinking that including the unit and, if needed, the compiler mode
for functions in the documentation may be
leledumbo writes:
Found a new one on the net: http://redbeesoft.com/
Looks interesting. They specifically mention it is FPC compatible and cross
platform.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mai
Prince Riley writes:
Thanks for the reply.
I just checked the list on FreeBSD kernel group on the AMD64 port.
The work is getting done by someone on the FreeBSD side?
the answer is maybe.. A more definitive answer might be available soon I
was told. There is still some delay on the QC for
Is there any way to get 2.2.4 RC1 for FreeBSD AMD64?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Marco van de Voort writes:
Sorry, old name, nowadays it is fcl-web. See packages/
Don't see it at
http://www.freepascal.org/packages
Is there where I should look?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.or
Prince Riley writes:
Finally, give the advance from CGI based web apps to Web 2.0 (Javascript
running in the browser) is there a design rational for running code on the
server instead of in the web browser.
I think that is almost a religious war type of discussion...
Short answer (as it appli
Travis Siegel writes:
Not fpc related, but irie pascal (http://www.irietools.com) has a
pascal that is cross platform, and does handle web support quite well.
No Postgresql support listed... still seems pretty interesting.
___
fpc-pascal maillist -
Marco van de Voort writes:
It was based on the eliza example iirc.
URL/source?
Is the easiest way to go using FPC + apache with CGI?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Any recommendations on which library to use to create web enabled FPC apps?
Have found a few libraries and wonder if anyone has had good success with
any of these or otheres.
So far I found
embeddable webserver
http://www.eilers.net/pascal
Site doesn't have much info
Synapse
http://www.arara
Francisco Reyes writes:
There are 186 apps under the Pascal category and 76 under the Delphi
category. Given so few apps I am not sure how it would help to have a third.
Correction.. 660 in Delphi. Didn't notice they add filters.. had to drop
the Pascal filter.
Also noticed the
Anyone knows if there is a unit/library for CDB in FPC?
Found some old links asking the same question several years back, but no
answers; wondering if anything has changed.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fr
Johannes W. Dietrich writes:
Maybe you are interested in a recent feature request I have proposed
for the SourceForge site, the creation of a Free Pascal category in
their Trove Software map.
What is wrong with the pascal category
Do we really want a third category to further delute the num
Vincent Snijders writes:
Oops, wrong link, I meant:
http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index-8.html
Thanks. That will be very helpfull.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinf
Marco van de Voort writes:
The index of the documentation comes a long way.
I have no idea what I was looking at, but went back to the rtl.pdf
and I see the index at the beginning with each function. Maybe was looking
at the online HTML. The beginning of the PDF is certainly along the lines
Vincent Snijders writes:
e.g. http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index.html
I was looking for something like..
AnsiCompareStr Sysutils
DaySpan dateutils
I have been using the PDF and searching for a function as needed.
Example.. when I was looking at fstat the example u
Is there a list of functions and which RTL libraries they belong to?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Francisco Reyes writes:
Is the time displayed in UTC? Seems to be.
Any way to make the time displayed be my timezone?
Nevermind that...
Was confused because the date was in a different format..
You pointed me in the right direction and finished the program
Pete Cervasio writes:
TDateTime values. Look for UnixToDateTime and DateTimeToUnix in DateUtils.
The documentation I have must be old (even though I got it a few days ago
from the website). It says those functions are not implemented, yet I was
able to use it.
Is the time displayed in UTC
Francisco Reyes writes:
Trying the fstat function and don't seem to be getting the right values for
ctime, mtime and atime.
-- filedate.pp
uses BaseUnix,DateUtils,SysUtils;
var
info : stat ;
begin
if fpstat ('myfile.txt' , info) <>0 then
begin
writeln (
ik writes:
I wish to create a firebird generator that does bitwise generation rather
then ordinal generator.
I mean:
1 2 4 8 16 32 64 128 etc..
Does anyone have knowledge how to create such generation in firebird ?
I am not clear what you are trying to do.
You are trying to generate the s
Micha Nelissen writes:
Francisco Reyes wrote:
Trying the fstat function and don't seem to be getting the right values
for ctime, mtime and atime.
What OS and CPU ?
Tried FreeBSD 6.3 on i386, AMD CPU and Opensuse 10.3 64 bits AMD cpu
__
Trying the fstat function and don't seem to be getting the right values for
ctime, mtime and atime.
-- filedate.pp
uses BaseUnix,DateUtils,SysUtils;
var
info : stat ;
begin
if fpstat ('myfile.txt' , info) <>0 then
begin
writeln ('Fstat failed . Errno : ' , fpgeterrno) ;
halt ( 1 )
Bill writes:
I'm absolutely new to this list... and to Pascal. I was getting pretty
good with Foxpro programming when MS bought and then changed the
Although I have not tried Lazarus, I am not sure it will compare
to what you had in Foxpro. My impression is that Foxpro was higher level and
I usually see messages every day or close to it.
Have gone a few days without seeing any...
And I think this is the second time it is happening.
I am just trying to check whether it is an issue with the list or my mail
server.
___
fpc-pascal maillist
Felipe Monteiro de Carvalho writes:
Ok, I took a look at this, to have pdf support one needs to buy the
professional version of Doc-o-Matic
I can run windows from VM.. just have no idea what to use to open a chm.
I will just convert to PDF.
Have been sick since friday so did not get a chance
Felipe Monteiro de Carvalho writes:
Which formats currently work under unix (Linux/FreeBSD)?
Only Excel 2
Thanks for the update and for the Wiki changes.
Based on your schedule when do you think you may get the opendocument
format or the Excel 5 working under Linux/FreeBSD?
Also, any pla
Don't see my response to the list..
Resending.. and updating..
completely obsolete, and I just kept it in the website because I still
haven't written docs for the new version. I would recommend against
using it.
Gotcha.
In which operating system did you run it? Excel 5 needs the generatio
Felipe Monteiro de Carvalho writes:
completely obsolete, and I just kept it in the website because I still
haven't written docs for the new version. I would recommend against
using it.
Gotcha.
In which operating system did you run it? Excel 5 needs the generation
of a OLE documented.
Ope
Felipe Monteiro de Carvalho writes:
http://wiki.lazarus.freepascal.org/FPSpreadsheet
Finally got started on this project.
I am a little confused on the functionality of the unit excel2utils;
I created a file with the exact code from the site, dropped it in the same
directory as fpspreadsheet.
Michael Van Canneyt writes:
If you ask me, it can't be hard to write the older text excel file format.
Thanks for the links will take a look later.
For now I will go with http://wiki.lazarus.freepascal.org/FPSpreadsheet
and see how that works out.
__
Michael Van Canneyt writes:
If buying is an option: You can buy FlexCel from TMS software.
It works with FPC/Lazarus.
Thanks for the pointer.
75 EUR is a little steep for what will end up been an open source app.
Specially since it will be a text based program. Will try the Lazarus
component
Searched, but could not find, a library/unit for creating spreadsheets.
XLS, open doc.. or anything that would allow to create spreadsheet tabs to
later on open with Excel.
Trying to see if there is one before trying to create one.
___
fpc-pascal mail
markweber writes:
I suppose you have seen the link I showed. Can I make a sofware like that,
without to be a Computer Graphics super nerd, just using this fpImage?
Food for thought...
Even if you had libraries(built in or otherwise) that did all the "magic"
you will still need to create the G
[EMAIL PROTECTED] writes:
I will test it!! I need it!
Fabio,
Basically all you need to do is:
+ Untar snapshot to your home directory
+ Create ~/.fpc.cfg :
-Fu~/snapshot/lib/fpc/$FPCVERSION/units/$FPCTARGET/*
-viwh
+ Either symlink /snapshot/bin to ~/bin or
cd ~/bin
ln -s /snaphot/bin/*
Marco van de Voort writes:
Still twice as many failures as the x86 one. Not all are big problems, but
some are, like:
You mean the Linux x86?
What can a newbie like myself do to help?
I was thinking to work on a port for FreeBSD of the binary files currently
on the site or learn how to upd
Marco van de Voort writes:
Well, this is the stuff the buildfaq reading was for :-)
I printed it and read it on the train.. on the way home.
I store a minimal configuration file in ~/.fpc.cfg :
-Fu~/snapshot/lib/fpc/$FPCVERSION/units/$FPCTARGET/*
-viwh
Tried that.
Tar examped off ~ so I
Marco van de Voort writes:
a 26MB snapshot is available at (all binaries, just needs a fpc.cfg)
How do we test it?
I untared the file.
Went into snapshot/bin and tried "fpx hello.pas"..
Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64",
error code: 127
I see it in s
Roland Turcan writes:
I need to make our own database engine compatible and other binary
files, that user still can use our data from i386 or PowerPC computer.
Do you mean you are trying to keep your binary data files compatible between
these two architectures?
I don't have an answer, but i
Boris Samorodov writes:
On Mon, 15 Sep 2008 17:38:44 +0200 (CEST) Marco van de Voort wrote:
As soon as it can compile itself, I'll upload a snapshot. Next will be
getting access to C libraries (linking to shared libs)
It realy will be great when it's ready.
I understand that ports are about
Marco van de Voort writes:
Should I try to build it in a FBSD i386 or AMD64?
I built in on x86, but assembled and linked on AMD64.
Are the steps documented somewhere?
I downloaded fpc-2.2.2.i386-freebsd.tar
How would I "build"
Also, when one uses instal.sh, how does one uninstall?
In a "r
Marco van de Voort writes:
It is not done. Those files are the leftovers of a failed attempt. But maybe
it is enough to give it a try, maybe sb notices what is wrong.
Should I try to build it in a FBSD i386 or AMD64?
___
fpc-pascal maillist - fpc
Are there any plans for a FreeBSD AMD64 version?
Sometime ago I tried to work on this and since I am not very familiar with
FPC yet I could not get very far.
If there are currently no set plans for this port, anyone would be willing
to do some heavy hand-holding for a new users to work on thi
On 10:29 pm 08/11/08 "Galloplus Chang" <[EMAIL PROTECTED]> wrote:
> Would you please recommand some useful reference books for Free
> Pascal or other Pascal-related language,such like objectPascal and
Have you checked the Documents section in the http://freepascal.org site?
http://www.freepascal.o
David W Noon writes:
Incidentally, from your first message in this thread, you said you were
writing an OLAP application. You might care to look at PostgreSQL as a
database manager. It does rather nice OLAP functionality, straight out
of the box -- and it's free.
Somewhat offtopic...
Im a full
Is there anything simmilar to the functions other languages have
split/explode?
I will be reading a delimited file, usually tabs, and want to parse it into
variables or some form of array.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
Michael Van Canneyt writes:
You can also try the Classes unit if you use object oriented programming.
Each component can write itself to stream.
Played a little bit with the Classes unit.
Don't really see any benefit over justin writing records directly.
Am I missing something?
Also when read
I looked through the contributed units in the http://freepascal.org site and
did not see anything that could take an array or some other data structure
and write it to disk. Also the library would need to do the opposite, read
from disk into a data structure.
I figure before I try and re-inven
Is there any unit, or built in functionality, to do the equivalent of
perl's associate arrays or Python's dictionaries?
What I am trying todo is to parse some lines and to store ocurrences of
certain strings.
For example
string1
string2
string1
string3
string2
What I want to do is to create
Daniël Mantione writes:
I placed an order at their European distributor http://www.infobooks.pt;
this seems the cheapest option until now. I got an an e-mail back in
Portugese for my full address information. I'm currently crafting a reply
with help of Systran's translator software. Let's see
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
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
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
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
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
Test writes:
I have a source file (test.pp) that uses some units. Where can I get
those units? If you didn't notice, I am a newbie :)
I tried to compile but it obviously drops an error.
uses
cgiapp, unix, unixutils, classes, inifiles
Does the program compile?
If it does it means the com
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 for 6.2? Any chan
Henry Vermaak writes:
o.k., no problems, we all gotta learn ;) on which platform are you
compiling on at the moment? (sorry, i've lost the story line a bit)
Compiling on FreeBSD 6.2 i386
I started this whole project because the FreeBSD port doesn't compile in
amd64.
I have a laptop which
Vincent Snijders writes:
x86_64/prt0.as:38: Error: `-16(%rbp)' is not a valid 32 bit base/index
expression
Can you manually assemble prt0.as?
Maybe the assembler needs --64 to be in 64 bits mode. In that case you may need to
write some wrapper scripts to add that parameter.
Even though my
Henry Vermaak writes:
no, this is wrong. there is a reason that they have the prefix. you
need to get the cross binutils that cross assembles and cross links
from your platform to x86_64 freebsd.
Ok.
you might be able to download
them from somewhere or build them with a suitable tool./scr
Henry Vermaak writes:
this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd
-INSTALL_PREFIX=... where you should have
BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space
after freebsd)
did you copy in paste or is this a typo?
It was a typo.
Corrected. Thanks.
I thin
Marco van de Voort writes:
Note that all of this is described in the buildfaq already published
earlier.
I thought I already had cross compiled.
I posted earlier what I used:
cd fpc
gmake distclean
# next all on one line
gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd
CROSSBINDIR=/vol2
Henry Vermaak writes:
you will also want to tell ppcrossx64 what your binutils prefix is by
using -XPx86_64-freebsd-. also make sure that the compiler can find
your binutils (put it on the path).
Based on some searching it seems I need to build the rtl in the AMD64
machine. After some inspec
Henry Vermaak writes:
usually fpc.cfg is configured to find the units, but because you
installed the compiled units in a different folder, you will need to
either change fpc.cfg
How do I tell the compiler where to look for the fpc.cfg?
I copied the fpc.cfg from my i386 machine, made the change
Henry Vermaak writes:
either change fpc.cfg, or pass the options to ppcrossx64. the
relevant lines in fpc.cfg are:
Where do I put that file?
I only see one file in /usr/local/etc that was installed from the port.
The other 2 I see are in fpcbuild instead of the fpc directory.
Do I create the
Henry Vermaak writes:
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
To which directory do I point it to?
find . -name "crt*"
shows me that the only compiled rtl are in rtl/units/i386-freebsd
Was the
Marco van de Voort writes:
Then you need to crosscompile (see http://www.stack.nl/~marcov/buildfaq.pdf
) to AMD64, and fix the problems in the end.
Done.
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 execut
Jonas Maebe writes:
I downloaded the 2.3 snapshot (ot at least that is what I thought).
Try running compiler/ppc386. fpc simply executes the first
ppc it finds in the path afaik.
Thanks. That was it.
./ppc386
Free Pascal Compiler version 2.3.1 [2007/06/04] for i386
Copyright (c) 1993-2007
Reading the docs I see there is a "make cycle" target, but I am not sure
when it is necessary.
For the snapshot build seems that only "make all".
So when is make cycle needed?
Perhaps it is my newbiness, but the explanation in the manual doesn't mean
much to me.
"make cycle" is a bootstrap o
Looking at the compiler parameters I see:
-Oggenerate smaller code
-OGgenerate faster code (default)
Is the difference in speed/size significant?
-O1level 1 optimizations (quick optimizations)
-O2level 2 optimizations (-O1 + slower optimizations)
-O3level
Although ultimately my goal is to try to cross compile to amd64 from i386
(FreeBSD) I figure I would start easy with a "standard compile".
The process completed.
When I run compiler/utils/fpc
It reads:
Free Pascal Compiler version 2.0.4 [2007/05/25] for i386
I downloaded the 2.3 snapshot (ot a
Marco van de Voort writes:
- a starting compiler (2.0.4 or 2.1.4)
Got 2.0.4
- a 2.3.x (development) snapshot
Got from ftp.
Then you need to crosscompile (see http://www.stack.nl/~marcov/buildfaq.pdf
) to AMD64, and fix the problems in the end.
Got it.
Trying to figure out the right pa
Marco van de Voort writes:
- a starting compiler (2.0.4 or 2.1.4)
Have it.
- a 2.3.x (development) snapshot or svn checkout, which are afaik on FTP's
server. Note that sourceforge only contains releases, not snapshots
Which directory?
drwxr-xr-x2 1001 1001 4096 Mar 1
Marco van de Voort writes:
Yes. I tried to get it running on AMD64 (and the results are in SVN), but
the binary won't run and I don't fully understand why.
Is your work on the 2.1.4 Beta or I have to do SVN?
In particular I see sources from May 20 at
http://sourceforge.net/project/showfiles.
Just tried to install the FPC port in a AMD64 FreeBSD and got an error that
it was an i386 only port.
Is this a deficiency of the port in FreeBSD or is FPC only 32bits?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
Marco van de Voort writes:
Aren't there three versions already? The original had the later "Advanced
programming" volume as a mere chapter. In the second they are splitted, and
the third is fairly recent
I don't think it will make much difference which version I got.. since the
examples are i
Looking at units in ref.pdf I see an initialization and a finalization
section.
How are those used?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Alan Krause writes:
The "bible" on this type of programming is Richard Steven's _Unix
Network Programming_. I have both the old version of the book, as well
as Volume 1 of the new and revised version.
Thanks.
Got it on Safari.
UNIX Network Programming Volume 1, Third Edition:
The Sockets Net
ik writes:
You can create a daemon is several ways, but here are two of them:
1. Create non blocking sockets for the server, and on every new
communication open a new thread that will use that connection.
Thread or fork?
2. Create a non blocking sockets for the server, and on every new
commu
After reading the socket samples at
http://www.bastisoft.de/pascal/pasinet.html I am starting to get the basics
of socket programming.
The one thing I don't see in that page is how one would have standby
servers.
In other words I would like my server program to have some N number of
daemons
Can't find examples for socket programming besides
http://www.bastisoft.de/pascal/pasinet.html
Does anyone knows of any other samples/links?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-p
Exploring the site founded the forums.
Saw a post from June 2005 which describes there were problems trying to get
it to work in FreeBSD.
http://community.freepascal.org:1/bboards/message?message_id=155642&foru
m_id=24096
Don't see an IDE in the port. Does the problem still exists gettin
1 - 100 of 109 matches
Mail list logo