Op Fri, 29 Feb 2008, schreef Skybuck Flying:
There is another major drawback to your supposedly better method:
Object inheritance forces all fields to be accessable from the root:
SomeRoot.SomeField := ...;
While nesting has nice grouping:
SomeRoot.SomeHeader.SomeOtherHeader.SomeField :=
Op Tue, 26 Feb 2008, schreef Bernd Mueller:
Hello,
my ARM-Linux board seems to be resistant against bus errors/misaligned data
access or the compiler does some magic to prevent these ;-)
Yes, the kernel fixes the unaligned access.
It would help me, to debug a program, when my board would
Op Sun, 24 Feb 2008, schreef Skybuck Flying:
Finally there is another question remaining:
Are objects always packed ?
No, to get packed objects you have to declare them packed. A record and
object with the same field list have the same binary layout.
Op Fri, 15 Feb 2008, schreef Skybuck Flying:
To me it seems like some kind of trick, to extend a record at runtime.
The empty record field, functions as a sort of offset/label/pointer if you
will to the new fields that will will be extended to the record by simply
allocating more memory
Op Mon, 11 Feb 2008, schreef Skybuck Flying:
Hello,
Is there a special way to interface with the free pascal compiler, for
example via a DLL/API ?
Just use the compiler unit in your project.
I want to develop the IDE in Delphi 2007.
Is it still possible to interface via the compiler
Op Tue, 5 Feb 2008, schreef Luiz Americo Pereira Camara:
can i safely use the below object instead of the record and pass directly to
the c function?
TMyObj = object
x: Integer;
y: Integer;
Method1;
Method2;
end;
PMyObj = ^TMyObj;
Yes, objects (by specification) are defined to have the
Op Tue, 5 Feb 2008, schreef Marc Weustink:
Daniël Mantione wrote:
Op Tue, 5 Feb 2008, schreef Luiz Americo Pereira Camara:
can i safely use the below object instead of the record and pass directly
to the c function?
TMyObj = object
x: Integer;
y: Integer;
Method1;
Method2;
end;
PMyObj
Op Fri, 18 Jan 2008, schreef Bee:
Well, the statements so far went like this sub.sub.unit stuff is just .NET
crap, we won't implement any of those. ;)
I don't like that kind of attitude either. .Net is not crap as a whole, it
does have some good features and ability. If some of them are
Op Fri, 18 Jan 2008, schreef Bee:
I don't use .Net, but supporting Delphi dot namespace doesn't need to stop
providing other functionality. Ideally, we should able to provide them both,
the Delphi way and the FPC way. Both are the most used pascal compiler
nowadays. ;)
As far as I am
Op Fri, 18 Jan 2008, schreef Michael Van Canneyt:
On Fri, 18 Jan 2008, Daniël Mantione wrote:
Op Fri, 18 Jan 2008, schreef Michael Van Canneyt:
To the user, it may appear as a bunch of dots. To the compiler, it doesn't
know how to map the a.b.c.d:
Well, with normal Pascal rules, you
Op Fri, 18 Jan 2008, schreef Vinzent Höfler:
Maybe my view is skewed too much by the use of Ada where even a function
declares a record identifier. In Ada it is even possible to do:
---
procedure Test is
X : Integer;
procedure B is
X : Integer;
begin
X := 1;
Op Mon, 14 Jan 2008, schreef Graeme Geldenhuys:
Hi,
As far as I understand the 'libc' unit is a compatibility unit from
the Kylix days and is only meant for linux/x86, so isn't portable.
I'm trying to get fpGUI working under FreeBSD but hit a snag in my
File Grid component. The File Grid
Op Sat, 12 Jan 2008, schreef Bill Yau:
Although I would like to transfer my programming from TP to
FPC, I found that I cannot test some source lines directly without
writing a full program. I suggest to implement the evalutation box in
TP7 to the IDE, enabling users to input a full
Op Wed, 2 Jan 2008, schreef Graeme Geldenhuys:
On 02/01/2008, Johann Glaser [EMAIL PROTECTED] wrote:
So it all is about the invisible Linux downloaders.
I agree...plus the Linux downloads are split into lots of small
packages, were the Windows download is one file.
I have the impression
Op Wed, 2 Jan 2008, schreef Michael Van Canneyt:
2. What libraries do most people use for console (i.e.,
terminal or text-mode) apps? I dislike ncurses; is
there a better way?
You can use crt or the video unit provided by FPC.
You have Free
Op Fri, 21 Dec 2007, schreef Damien Gerard:
Just another question :)
What is the most efficient way to check if a string is empty or not ?
if s = '' then ...
of this one
if Length(s) 0 then ...
Both generate the same code.
Daniël___
Op Wed, 5 Dec 2007, schreef Bee:
Hi all,
Is it just me or above methods are indeed not mentioned within fpc's doc
2.2.0? Any texts that are supposed to be a link to above methods is not formed
as a link.
Just to make sure, before I'll report this to mantis as a bug. :)
Op Sun, 11 Nov 2007, schreef Christos Chryssochoidis:
Hello all,
A while ago in one of the FPC lists I had read that FPC 2.2.0 supports array
slices. So I made a program to test this feature:
program Test_Slices;
procedure Test(C : array of Integer);
begin
end;
var
A :
Op Thu, 8 Nov 2007, schreef Bee:
Hi all,
I know latest stable release of fpc is v.2.2.0. But the latest updates and bug
fixes are done on v.2.2.1. I found some serious updates and bug fixes are
already done on v.2.2.1. But, is it safe to use v.2.2.1 for production use? Or
should I stick
Op Thu, 8 Nov 2007, schreef Bee:
Generally 2.2.1 is reliable, but bugfixes can have unforseen effects. You
will have to weigh the advantage of the bugfixes against unforseen
effects by those fixes. We cannot make that choice for you.
Understood. Say I'd like to apply some updates/fixes
Op Tue, 6 Nov 2007, schreef L:
The funny thing I see is everyone recommending Pchars. Why not
setlength/uniquestring? Still too slow?
Memory management, especially when you get reallocations, is expensive.
With case ansistrings can perform well. However, you do have to care, and
Pchars can
Op Tue, 6 Nov 2007, schreef Florian Klaempfl:
S. Fisher schrieb:
--- Florian Klaempfl [EMAIL PROTECTED] wrote:
Ok, now somebody has to fix the regexpr unit and accelerate it *g*
The C program in the shootout uses pcre (Perl-compatible
regular expressions). It would be very
Op Mon, 5 Nov 2007, schreef S. Fisher:
--- Peter Vreman [EMAIL PROTECTED] wrote:
around. I have update the program to use a pchar instead of an ansistring
so it finishes within
reasonable time. The updated source can be found in:
Op Fri, 2 Nov 2007, schreef ik:
On 11/2/07, Daniël Mantione [EMAIL PROTECTED] wrote:
Op Fri, 2 Nov 2007, schreef Graeme Geldenhuys:
Hi,
Anybody know what is the equivalent for Microsoft TAPI but under the
Linux platform? Our windows applications can use TAPI to dial phone
Op Fri, 2 Nov 2007, schreef Graeme Geldenhuys:
Hi,
Anybody know what is the equivalent for Microsoft TAPI but under the
Linux platform? Our windows applications can use TAPI to dial phone
numbers stored in our applications Contacts screen. I'd like to
implement something like that when
Op Wed, 31 Oct 2007, schreef Vincent Snijders:
Florian Klaempfl schreef:
Vincent Snijders schrieb:
Why not SetLength(s,i)? StrLen is _very_ expensive. I don't see a way
how another #0 can be before.
No more strlen:
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1432
One
Op Tue, 30 Oct 2007, schreef L:
I think first code is faster than second, because in first code
SubCalculate function is in calling function body?
Actually some times local scope functions are slower because the variables
need
to be carried around since you are doing somewhat of a
Op Mon, 29 Oct 2007, schreef Jonas Maebe:
On 27 Oct 2007, at 17:22, Mattias Gaertner wrote:
Also, all those icons in the menus look pretty weird (very few Mac
apps have that, and none that I currently use does),
Should they be hidden?
In general, I would say: yes. Maybe it
Op Mon, 29 Oct 2007, schreef L:
It's just one more funny thing one must realize,
when comparing real numbers with some exact
real constants. After this, I will try to never
compare doubles directly, but using tricks like
above. Because, in this digital world
1 + 0.4 - 0.4 1.
My
Op Mon, 29 Oct 2007, schreef L:
Your Casio doesn't do comparisons. Just round to 10 digits before you
compare and it'll work just as fine as on your Casio.
Daniël
And some off topic trivia:
My casio says 10 + 2 digits near the model number.
Does this mean it displays 10
Op Mon, 29 Oct 2007, schreef L:
Same as ansistring.. it can be dangerous to hide all the intricate details of
a
pchar/bytearray, which is what ansistring does. But ansistrings are really
useful for 'every day' use.
Wrong. A string can be represented alphadequate, as it is called; an
Op Mon, 29 Oct 2007, schreef Stephen Dickason:
It's just one more funny thing one must realize,
when comparing real numbers with some exact
real constants. After this, I will try to never
compare doubles directly, but using tricks like
above. Because, in this digital world
1 + 0.4 -
Op Mon, 29 Oct 2007, schreef L:
Same as ansistring.. it can be dangerous to hide all the intricate details
of
a
pchar/bytearray, which is what ansistring does. But ansistrings are really
useful for 'every day' use.
Wrong. A string can be represented alphadequate, as it is called;
Op Sun, 28 Oct 2007, schreef Milan Marusinec:
Hello folks,
This one looks pretty elementary, but to my big surprise
it doesn't work as I would expect.
I'd like to ask FreePascal compiler creators, how can I safely
evaluate double variables in case like this.
Sample program with
Op Sun, 28 Oct 2007, schreef Joao Morais:
Daniël Mantione wrote:
There is a similar issue here. The value 0.4 cannot be stored exactly
in a computer, therefore it is rounded.
This behaviour normal and while annoying, it is simply how things work in
the digital world, you will have
Op Sun, 28 Oct 2007, schreef L:
If you do on a hand calculator:
1/3
... you will see:
0.333
If you multiply again with 3, you will see:
0.999
... and not 1.000.
On my electronic/digital calculator I see '1'
It is a
Op Sun, 28 Oct 2007, schreef Adriaan van Os:
Daniël Mantione wrote:
N - Natural numbers
Z - Integer numbers
Q - Rational numbers
R - Real numbers
C - Complex numbers
Subranges of N, Z and Q can be represented exactly in a computer.
R and C
can not, we use the floating
Op Sat, 27 Oct 2007, schreef Michael Van Canneyt:
On Sat, 27 Oct 2007, Jonas Maebe wrote:
While I do not dispute the validity of your comments, I'd like to point out
that any cross-platform solution will suffer from this. Be it in Mono, Java
or FPC. I'm sure the Eclipse or Mono generated
Op Sat, 27 Oct 2007, schreef Mattias Gaertner:
Sounds great. Can we add this sentence to the main page? :)
Certainly.
AddBugReport();
Done.
Daniël___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
y
Op Wed, 10 Oct 2007, schreef Jilani Khaldi:
type Tsetupfunc_mapping=record
name:string;
func:setupfunc;
end;
const setupfunc_mapping:array[0..2] of Tsetupfunc_mapping=(
(name:'setup_function_1';func:@setup_function_1),
(name:'setup_function_2';func:@setup_function_2),
Op Sat, 6 Oct 2007, schreef Frank McCormick:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I followed the suggestion made sometime ago about loading cp850-8x16
font to get the line drawing characters when in the IDE on the console,
but noticed then I don't have certain characters
Op Sat, 6 Oct 2007, schreef Frank McCormick:
On Sat, 06 Oct 2007 17:41:42 +0200 (CEST)
Daniël Mantione [EMAIL PROTECTED] wrote:
I followed the suggestion made sometime ago about loading cp850-8x16
font to get the line drawing characters when in the IDE on the console
Op Sat, 6 Oct 2007, schreef Mattias Gaertner:
On Thu, 4 Oct 2007 20:17:36 +0200 (CEST)
Daniël Mantione [EMAIL PROTECTED] wrote:
Op Thu, 4 Oct 2007, schreef Mattias Gaertner:
Yes, but I hoped to declare it in situ - without adding another
type. ;) The reason is that I'm auto
Op Thu, 4 Oct 2007, schreef Mattias Gaertner:
Yes, but I hoped to declare it in situ - without adding another type. ;)
The reason is that I'm auto translating some C headers that contains
aliases for functions.
procedure DoAliasSomething(...params...); cdecl; external 'useful';
... is
Op Tue, 2 Oct 2007, schreef Felipe Monteiro de Carvalho:
As per the docs:
http://www.freepascal.org/docs-html/prog/progsu82.html#x90-91.2.17
There is a GNU pascal mode. AFAIK Gnu Pascal follows ISO Pascal, so it
would be possible to use Free Pascal with this mode, or GNU Pascal, to
Op Mon, 1 Oct 2007, schreef Zaka E-Lab:
My University have replaced ( other time ) freepascal.org, and we
must use the archaic Turbo Pascal 6.0, cause they say that freepascal
don't respect the ISO Pascal.
Funny. Free Pascal does not respect ISO Pascal, because it respects
Turbo Pascal. :)
Op Mon, 17 Sep 2007, schreef Stephen Dickason:
I'm new to the multi-OS programming environment and wondered if there was
some documentation on the different interface mechanisms used in FPC?
Please elaborate. Interface as in the language feature regarding
interfaces between classes? Or
Op Mon, 17 Sep 2007, schreef Stephen Dickason:
I'm new to the multi-OS programming environment and wondered if there was
some documentation on the different interface mechanisms used in FPC?
Please elaborate. Interface as in the language feature regarding
interfaces between classes? Or
Op Tue, 11 Sep 2007, schreef Johann Glaser:
Hi!
procedure abc(const x:array of byte);
begin
end;
var b:array[0..15] of byte;
begin
abc(b[0..9]);
end;
I see, pretty neat for handling array row-wise or the like, thanks.
Is it also possible to run
Op Tue, 11 Sep 2007, schreef Andreas Berger:
Can someone tell me what needs to be done to have FPC 2.2.0 for DOS?
Well, this time it is in good state, for a change. A release needs to be
build and tested to work and install correctly.
Daniël___
Op Tue, 11 Sep 2007, schreef Andreas Berger:
Daniël Mantione wrote:
Can someone tell me what needs to be done to have FPC 2.2.0 for DOS?
Well, this time it is in good state, for a change. A release needs to be
build and tested to work and install correctly
Op Sun, 2 Sep 2007, schreef Marc Santhoff:
Am Sonntag, den 02.09.2007, 10:32 +0200 schrieb Daniël Mantione:
You can set the bell frequency using write(#27'10;freq') and the duration
using write(#27'10;duration'), where freq is in Hz and duration in
milliseconds. Then ctrl+g to ring
Op Sun, 2 Sep 2007, schreef Mark Wood:
Naturally, this is not possible: The PC speaker is simply controlled by a
timer, which creates a square wave (on/off). In ancient DOS times there
was a trick by doing a frequency modulation, i.e. you turn the timer on
and off quite fast. But on
Op Sun, 2 Sep 2007, schreef Jonas Maebe:
On 02 Sep 2007, at 07:58, Marc Santhoff wrote:
FreeBSD has a simple speaker-device and is able to use it for simple
freqency and duration sounds via ioctl as well as playing musical notes
a simple acsii-notation. Maybe Linux, MacOS and others
Op Tue, 28 Aug 2007, schreef Marc Santhoff:
Am Montag, den 27.08.2007, 14:14 +0200 schrieb Daniël Mantione:
Op Mon, 27 Aug 2007, schreef Rainer Stratmann:
Is it possible to write ARM Programs for these single microcontroller
chips
without a RTL and without specifying
Op Mon, 27 Aug 2007, schreef Rainer Stratmann:
Is it possible to write ARM Programs for these single microcontroller chips
without a RTL and without specifying a target operating system?
Or write pure Assembler Programs?
And then to download it into these single chip controller?
The
Op Sun, 26 Aug 2007, schreef blackdog:
Hi List
This is my first post to the list and I'm new to fpc too.
I'm interested in using fpc to create .so/.dll for the Neko
virtual machine (http://www.nekovm.org), instead of using C for the same
task. So that means translating header files.
Op Sun, 26 Aug 2007, schreef Robert Wolfe:
Hi all! I would like to add Win64 cross compiling capabilities to the
FP.EXE editor. I was wondering if anyone has done this already and if so,
how?
That is not possible as there can be only only code generator inside the
IDE. The IDE can be
Op Mon, 13 Aug 2007, schreef JK Smith at Grid-Sky:
As I mentioned before, assuming some degree of liability for your work is on
the horizon.
From
http://www.lightbluetouchpaper.org/2007/08/10/house-of-lords-inquiry-personal-internet-security/
Quote:
The third area, and this is where
Op Tue, 14 Aug 2007, schreef Vinzent Hoefler:
On Tuesday 14 August 2007 06:14, Daniël Mantione wrote:
Lastly, pre and post conditions are just another runtime check.
No. If you can prove that the conditions always hold, you don't even
need to compile to the program to prove its
Op Tue, 14 Aug 2007, schreef James Smith:
Before completely dismissing this issue, I hope you guys will consider merging
Tom's qualified work into the trunk at some point.
Of course it will be considered. I don't think we are there yet though.
First, Tom needs to say he is ready for merging
Op Tue, 14 Aug 2007, schreef mm:
James Smith a écrit :
Well, I know programmers who turn off range checking and let exceptions
fall through empty exception blocks. They don't work with me on projects.
Though it is sometimes the best way of doing. It is sometimes better
to check ranges
Op Mon, 13 Aug 2007, schreef Michael Van Canneyt:
Obviously their clients have more sense than this company does...
Mod up +1 Insightfull...
Yes, this is the whole point, end users like Pascal applications more than
Java applications. (Because their are faster, use les smemory,
install
Op Sun, 12 Aug 2007, schreef ik:
Ok, one more: 4) I miss array slice syntax (str:= s[2..7];) from the Stony
Brook M2 days. So much more concise than Copy().;
Let me please quote Marco and say this is a synthetic sugar, or at
least sort of.. it's not like there is no way (without
Op Sun, 12 Aug 2007, schreef Leonardo M. Ramé:
Before assuming FPC isn't atracting users, why don't we start tracking new
users and compare it's
evolution month by month, year by year. With the help of this method, we can
figure out some ways
to market FreePascal and Lazarus.
We can
Op Tue, 17 Jul 2007, schreef Adriaan van Os:
lazarus.pp(118,1) Error: resource compiler not found, switching to external
mode
Can you try -vt to see if and in what directories the compiler tries to
search windres?
It could very well be that the compiler searches for windres.exe, this
Op Tue, 17 Jul 2007, schreef Coco Pascal:
Joost van der Sluis wrote:
Discussion: What tests could I do more? Is there something I overlooked?
To me it seems that benchmark tests on 10 records are missing relevance
more and more.
I'm interested in responsiveness in n-tier
Op Mon, 16 Jul 2007, schreef Adriaan van Os:
Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac
? Is this supported ?
Yes, you don't need a cross-compiler to cross-compile to different
operating systems. With FPC 2.1.4+ you don't need binutils either to
Op Mon, 16 Jul 2007, schreef Adriaan van Os:
and hello.exe actually runs at the other side of the fence.
Note that you can install Wine (I'm not sure though how the Darwin port
hasprogressed) to do testing. With Wine you can do the full development
without a Windows computer and you only
Op Mon, 16 Jul 2007, schreef Vincent Snijders:
Daniël Mantione schreef:
Op Mon, 16 Jul 2007, schreef Adriaan van Os:
and hello.exe actually runs at the other side of the fence.
Note that you can install Wine (I'm not sure though how the Darwin port
hasprogressed) to do
Op Fri, 13 Jul 2007, schreef Tiziano_mk:
Arjan van Dijk wrote:
Hi!
I had problems debugging my program under the last official
IDE/Freepascal
for Windows,
so I just installed the release candidate that is bound to become
official
in 2 months.
My problem still stands: during
Op Thu, 12 Jul 2007, schreef Arjan van Dijk:
Question:
Can someone from the development team tell me if the Freepascal IDE can be
told to
call a FORTRAN compiler instead of Freepascal, and use gdb instead of the
Freepascal debugger? Just like the Freepascal website can be switched from
Op Tue, 10 Jul 2007, schreef Marc Santhoff:
Hi,
is there any function in the libraries of fpc for splitting a string
into an array naming the separator?
In awk for eample if you do this:
split(ab-cd-ef, x, -)
print x[2]
it would split up the first string using - as
Op Fri, 6 Jul 2007, schreef josepascual:
Hi developer of freepascal (for arm) et all
I have tried a freepascal program for arm EABI. I have created a
ppcrossarm with SOFTFLOAT with binutils for EABI.
Freepascal program compiled okey but When I run it in ARM board (with
Op Wed, 4 Jul 2007, schreef josepascual:
Hi developer of freepascal (for arm) et all
I have tried a freepascal program for arm EABI. I have created a ppcrossarm
with SOFTFLOAT with binutils for EABI.
Freepascal program compiled okey but When I run it in ARM board (with
rootdisk EABI) I
Op Tue, 3 Jul 2007, schreef Adriaan van Os:
I am not at all saying that FPC should follow GNU conventions, no, but at
least the rules are clear there. You configure for target, host and build and
then the Makefile takes cares of the rest. If a configuration is not supported
or if there is a
Op Thu, 21 Jun 2007, schreef Catalin Zamfir Alexandru:
I may have the easiest job of them all. I'm updating my Gentoo QT to
4.3
which compiles the source, installs it and makes all necesary adjustments.
Still compiling. 4 hours have passed and Qt is still compiling.
QT
Op Thu, 21 Jun 2007, schreef [EMAIL PROTECTED]:
I think it will call itself, until it runs out of stack space (error 202).
No, it won't, test here refers to the function result variable.
Daniël___
fpc-pascal maillist -
Op Mon, 18 Jun 2007, schreef Tom Walsh:
Heh, if you are reading this then you may know what Metaware is?
I've a large(!) body of code written over the years under the Metaware
Professional Pascal compiler. This code is to be translated to run on the fpc
compiler.
I wonder if anyone out
Op Wed, 13 Jun 2007, schreef Felipe Monteiro de Carvalho:
I took a quick look at the website and they do ship world wide.
The only challenge would be understanding the portuguese on their
website. There doesn't seam to be an english version of the site.
I placed an order at their European
Op Sat, 16 Jun 2007, schreef Dr:
Please tell me whether FPC Pascal makes DOS ( DPMI ) protected mode DLL and
EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if
there is NO Windows at all on my machine
DLLs no, EXEs yes. You can load dxe files (the go32 variant
Op Wed, 13 Jun 2007, schreef Jonas Maebe:
On 13 jun 2007, at 07:32, Daniël Mantione wrote:
Op Wed, 13 Jun 2007, schreef Felipe Monteiro de Carvalho:
How would I then be sure that my string is never converted (or always
converted from utf-8 to utf-8 if prefered), but just passed
Op Wed, 13 Jun 2007, schreef Florian Klaempfl:
Jonas Maebe schrieb:
On 13 jun 2007, at 14:21, Florian Klaempfl wrote:
If MacOSX uses always utf-8 for 8 bit strings, you can hardcode it of
course in cwstrings and don't use iconv.
Well, it's a bit more complicated than that, see
Op Tue, 12 Jun 2007, schreef Graeme Geldenhuys:
Hi,
I'm doing a FindFirst / FindNext and fitering out all faHidden and
faDirectory results.
I don't want to show and dot (.name) directories as they are
considered hidden under Linux.
Yet FindFirst / FindNext doesn't have the faHidden flag
Op Tue, 12 Jun 2007, schreef Michael Van Canneyt:
Where do the first three come from? Can those be (re)moved?
The compiler adds them by default, see systems/t_linux.pas.
You can't remove them except by editing link.res (or changing the compiler).
... and there is no need. The message
Op Wed, 13 Jun 2007, schreef Felipe Monteiro de Carvalho:
How would I then be sure that my string is never converted (or always
converted from utf-8 to utf-8 if prefered), but just passed like I
wrote it to the library that I am using?
Add the cwstring unit, and run it in an utf-8 terminal.
Op Sun, 10 Jun 2007, schreef pineal:
On Sunday 10 June 2007 10:15, Michael Van Canneyt wrote:
I have spent the whole afternoon trying to install fpc. :(
First I downloaded the .rpm files. The compiler and docs install fine but
the source doesn't install anything and there is no
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.
Hello,
We have corrected an error in the package building of 2.1.4 for
i386-linux. This fixes two errors:
* The files in the tar archive had the wrong user/group
* The IDE was built with in incorrect helper library, causing crashes.
The rebuilt version is refered to on the ftp and websites as
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 the earlier e-mail today about the rebuild of this
release.
The
Op Mon, 4 Jun 2007, schreef [EMAIL PROTECTED]:
I've read the documentation and I find that I can use WIDESTRING in a similar
way, but I'm not sure which character codification WIDESTRING uses. The C
library uses 'standard C strings' (that is 'char *string;') an there's a
function to define
Op Mon, 4 Jun 2007, schreef Francisco Reyes:
The source?
Exactly.
Daniël___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Op Fri, 1 Jun 2007, schreef Marc Santhoff:
Hi,
I'm trying to force fpc to use emulation code for floating poing
calculations on i386 hardware.
$ fpc -al -st -Op1 -CfSOFT floattest.pp
Viewn from the assembler source the file is identical to one compiled
without target options and the
Op Fri, 25 May 2007, schreef Francisco Reyes:
I have not used Pascal in a while, but I am exploring whether to use pascal
for a tcp server software. In particular it would be a policy server for
postfix mail transfer agent.
Any comments/suggestions/pointers for the following will be
Op Fri, 25 May 2007, schreef Francisco Reyes:
Daniël Mantione writes:
Check the sockets unit documentation. You'll be up and running in no
time. There are also good OOP frameworks like Synapse, LNET and Indy,
which provide complete implementations of common network protocols.
Do you
Op Wed, 23 May 2007, schreef Michalis Kamburelis:
Christos Chryssochoidis wrote:
Hi,
I tried to write some function that returned a dynamic array, and
realized that this isn't allowed. Why? After all one can specify an
array of variable length as type for variables... Furthermore -
Op Wed, 23 May 2007, schreef Bisma Jayadi:
Op Wed, 23 May 2007, schreef Bisma Jayadi:
No C programs have been submitted recently. It is probably the new broken
scoring system.
Is Shootout using new scoring system? How did you know that?
See the long thread on the forum. It penalizes Pascal because we have a
bad score for
Op Wed, 23 May 2007, schreef Jonas Maebe:
On 23 mei 2007, at 10:39, Bisma Jayadi wrote:
Of course it's very relevant since they are all using same algorithms
No, because there are lot of ways to implement a single algorithm. Do you use
ansistrings, shortstrings, arrays of char, or
Op Wed, 23 May 2007, schreef Christian Ulrich:
Very few OOP is used in the Pascal implementations, so Pascal and C are
on equal grounds here.
musnt the memory manager included if only few oo stuff is included ?
? The heap manager is always in the exe; it cannot be smarlinked away.
1 - 100 of 173 matches
Mail list logo