On 20 sep 2006, at 02:10, Vinzent Höfler wrote:
so I have to use
record
Something: byte;
case byte of
1: (x,y: word);
2: (z: longword);
end;
No, AFAIK you don't have to, it's the same, just a different syntax.
Correct.
Probably you should used a packed record, though. And
Greetings.
When running make zipinstall under Win32, the
process ends with the following error:
cp.exe: cannot remove old link to
`D:/fpc/../fpc-pack/examples/oracle/.svn/text-
base/Makefile.fpc.svn-base': Permission denied
cp.exe: cannot remove old link to
The Sparc Linux build of 2.1.1 from the current SVN is
available at:
http://www.net261.com:85/pages/robert/software/fpc/
Robert Wolfe ([EMAIL PROTECTED]
/ [EMAIL PROTECTED])
Computer Programmer/Analyst Web Programmer
SRDAR, Roswell Park Cancer Institute, Buffalo,
New York
Vinzent H?fler Probably you should used a packed record, though. And it's
in no
Vinzent H?fler way portable, of course.
Also correct.
Jonas
I use
{$A-}
abc= record
something: byte;
case byte of
1: (a,b: byte);
2: (c: word);
end;
{$A+} // or even a: byte;
it seemed to run in a serial fashion and not as a separate task.
Well... Win32 at any rate, use one of the following:
CreateSemaphore / CreateMutex / CreateEvent
Then use the handle with one of the following:
WaitForSingleObject / WaitForMultipleObjects
Depending on what you are doing,
On Wednesday 20 September 2006 08:26, Пётр Косаревский wrote:
I use
{$A-}
abc= record
something: byte;
case byte of
1: (a,b: byte);
2: (c: word);
end;
{$A+} // or even a: byte; rsrvd1: array[1..3] of byte; b: word; ...
{$IF sizeof(abc)1234}
{$FATAL
Yes, there is a language feature called object orientation. But still
that means you would have to translate the binary structure into a
class instance somehow.
Vinzent.
The object I presented compiles well, but there is almost no gain in OO
approach: I still have to nest structures and
On 20 sep 2006, at 13:20, Пётр Косаревский wrote:
I'm vague: for the first time I hoped that when you access the
variant part, if the case variable was named, program checks it
run-time. Hoping that it was implemented this way, I asked about
control over the relative place in the memory
On Wednesday 20 September 2006 11:25, Jonas Maebe wrote:
On 20 sep 2006, at 13:20, Пётр Косаревский wrote:
I'm vague: for the first time I hoped that when you access the
variant part, if the case variable was named, program checks it
run-time. Hoping that it was implemented this way, I
On 20 sep 2006, at 13:35, Vinzent Hoefler wrote:
Maybe you should take a look at the GNAT source code, Ada
Compiler's do
that sort of checks since 1983. ;)
I doubt GNAT's symtable implementation is even remotely similar to
FPC's symtable implementation...
Jonas
OK thanks... I'm able to get it now
Tomas Hajny escreveu:
On 19 Sep 06, at 16:09, Fabrício F. Kammer wrote:
Hi all, is the domain www.freepascal.org out?
DNS server problem. :-( You can get there by
directly going to 62.166.198.202.
Tomas
___
Sorry by the question but I'm not able to use on my forms the
DataSources puted on the DataModule.
I put the DataModule file on the uses clausule (like I make on Delphi)
but when I select the DataSource property of the DBAware fields I can't
see the DataSources components.
What does I must
It's on my todo list to implement such checks (when enabled by a
command line switch, of course). It's not that easy as it may look at
first sight though.
Jonas
It's great news!
However, in the case of such checks, ability to explicitly place tag variable
in the record structure or to
On 20 sep 2006, at 14:19, Пётр Косаревский wrote:
It's on my todo list to implement such checks (when enabled by a
command line switch, of course). It's not that easy as it may look at
first sight though.
Jonas
It's great news!
However, in the case of such checks, ability to explicitly
That would be more easily doable than the above, though again it
would break compatibility with other Pascal compilers afaik.
Jonas
I thought so.
But FPC isn't very compatible as it is: if you don't care for compatibility
much, Delphi won't compile a program. Of course, TP will fail too.
On 20 sep 2006, at 14:41, Пётр Косаревский wrote:
That would be more easily doable than the above, though again it
would break compatibility with other Pascal compilers afaik.
I thought so.
But FPC isn't very compatible as it is: if you don't care for
compatibility much, Delphi won't
I think this was answered a few days ago. Someone else had the same
question. You cannot visually (in the Object Inspector) link the two.
For now you have to manually do it in code.
Regards,
- Graeme -
On 20/09/06, Fabrício F. Kammer [EMAIL PROTECTED] wrote:
Sorry by the question but I'm
It's not because you don't pay me, or because you cannot demand
anything from me or anyone else working on FPC, that you do not have
influence on the project or even on what I do (both positively and
negatively).
Jonas
If I get it right, I don't have the influence, mainly because I
Пётр Косаревский schreef:
It's not because you don't pay me, or because you cannot demand
anything from me or anyone else working on FPC, that you do not have
influence on the project or even on what I do (both positively and
negatively).
That was a difficult sentence. I think I
About contributing: is it useful to comment some parts of documentation (html
with comments) with improvements, corrections or compilable examples?
It's not because you don't pay me, or because you cannot demand
anything from me or anyone else working on FPC, that you do not have
About contributing: is it useful to comment some parts of documentation (html
with comments) with improvements, corrections or compilable examples?
For example, would it be meaningful to add an example on the discussed matter
with a comment stating, that there are no such checks tonow?
Greetings.
When running 'make zipinstall' under Win32, the process ends with the
following error:
cp.exe: cannot remove old link to
`D:/fpc/../fpc-pack/examples/oracle/.svn/text-
base/Makefile.fpc.svn-base': Permission denied
This is a know issue. It is a bug in the non-fpc cp.exe for
On 20 sep 2006, at 14:19, ??? wrote:
Hacking the parser to support this directly is a waste of time imho
(not to mention that it would break the code's compatibility with
every other Pascal compiler out there afaik).
Actually,?I wished for this one time or another. Usually
23 matches
Mail list logo