case is a system emulating multiple processors. If any
processor other than the first recognises certain conditions it is to
stop running, pending notification from the first processor that (e.g.)
an interrupt has been handled.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
First question: is Start an accurate replacement for Resume,
Yes.
or can it
only be used to start a thread created in the suspended state?
Yes.
Both yes, because anything but that was never fully supported with
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
Both yes, because anything but that was never fully supported with Resume in
the first place.
Second question: now that Suspend is deprecated, what should a thread do
if it wants to stop processing pending a subsequent
If a method a.WriteBuff() is passed another method b.finish() as a
parameter, can it access b before calling finish(), or would this
require an explicit parameter?
If yes, how?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those o
6 and SPARC, but in general am not being particularly
thorough in removing symbols etc.
Do you have a specific test project to use as a benchmark, i.e. that I
can compile and report it takes X bytes on disc and ps/top reports Y/Z
about it?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DO
compatible with AddressOf() as defined? Alternatively is there a type
which is compatible with any procedure variable (i.e. like Modula-2's
PROC, if my memory is correct), and can I overload AddressOf() to handle
the specific case of a procedure passed as parameter while leaving it
toleran
;s applying it to
a procedure variable as shown in my original message.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - f
or = What
I have found though is that using (* *) doesn't work- the definition has
to be in {} However on the machine in question I'm still on version
2.2.0 of the compiler for various reasons.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the auth
note.
Assembling test
Linking test
9 lines compiled, 0.7 sec
1 note(s) issued
->8-
Apologies for my rather archaic programming style but I'm a refugee from
Modula-2 and at one time I had this half-baked idea of writing code that
could be easily machine-processed for both. Old h
7;);
Rewrite(Error);
TTextRec(Error).Handle:= GetStdHandle(STD_ERROR_HANDLE);
Is there a correct and portable way to do this using FPC?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of hi
rappers to see if it works in Lazarus as well
as it does in Delphi.
Thanks for the help everybody, I'll go back to lurking quietly.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his emp
of Delphi I'm using doesn't object, and I
don't see why there should be a conflict between the class procedure and
procedure parameter names.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagu
ted unit.
I presume I'm correct in assuming {$mode delphi} operates strictly on
the syntax of the current unit without affecting cross-unit operations.
Are there cases where it can't be used? Specifically, can it be put in a
Lazarus .lpr file where this is a transcript of a Delphi .dpr?
a Delphi .dpr?
Yes.
Thanks. I think I read that as the effect /is/ strictly local and it
/can/ be applied to any unit. However in general I'm using it as an aid
to porting existing code, not because I don't like the way FPC does things.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .D
Merry Christmas and a happy New Year, everybody :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
h do
you? The issue is the convenience of being able to embed regexes and
backrefs in the language rather than the availability of suitable units.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of hi
Henry Vermaak wrote:
2008/12/22 Mark Morgan Lloyd :
.>8
IF cells[2, dateTime] = /(\d\d)\/(\d\d)\/((\d\d)?\d\d)\s.*/i THEN BEGIN
i thought for a moment you were trying to draw some nice ascii art :)
"Leaning toothpick syndrome" :-)
--
Mark Morgan Lloyd
markMLl .AT. tele
etter example- all those \d are a bit
offputting- but I wanted something from live code and wanted it to be
non-trivial.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
Csanyi Pal wrote:
apt-cache show nothing about libglib1.2ldbl
Google brings up lots of relevant discussion. I normally compile Lazarus
from scratch under Debian and have never seen this problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's
for
coding error or for misinterpretation by a maintainer.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.o
essed if assigned to a constant, although
I've not tried doing this.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist
h describes the
options when the app was built. In particular things like optimisation
level which can affect code generation.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
^ could be
overloaded it might make it easier to implement or at least to debug a
local heap.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist
Jonas Maebe wrote:
On 19 Sep 2009, at 22:21, Mark Morgan Lloyd wrote:
Is there any way of overloading the ^ (dereference) operator for a
user-defined type?
No, it isn't.
Shucks :-) I remember that JPI v1 had what they called "virtual
pointers" which specified a dereferen
r the other OSes that
FPC supports.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Henry Vermaak wrote:
Luckily, someone else has built mingw cross tools here:
I was wondering. I abandoned Cygwin years ago- far too flaky.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colle
If I have a class with a property Phase: TrrPhase where TrrPhase is an
enumeration such as (rrQuiescent, rrInitialised), is there an elegant
way of extending the enumeration and overriding the property type so
that a derived class can use the new values?
--
Mark Morgan Lloyd
markMLl .AT
7;s hardly elegant.
Which suggests that the best way is probably to have separate properties
controlling the phase of execution (i.e. whether the code is properly
initialised) and the state of the protocol or whatever being implemented.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
nicely as an object. The
weakness is the lack of embedded description of the parameters etc. of
each entry point.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
__
Thierry Coq wrote:
On 18/07/2010 20:56, Mark Morgan Lloyd wrote:
...
Yes, I was thinking that. However if the basic class was say a
round-robin scheduler with phases rrQuiescent and rrInitialised and
the descendant was say an HP comms protocol handler with additional
phases hpReceivingPadding
right" way of doing this would be to use CORBA or
similar, but I don't know (a) how arduous setting up the IDL description
would be and (b) whether that would invariably open sockets etc. even if
it were intended to be a local interface.
--
Mark Morgan Lloyd
markMLl .AT. teleme
C version using the path it's been told to follow.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@
firmed as well.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Michael Van Canneyt wrote:
On Thu, 12 Aug 2010, Mark Morgan Lloyd wrote:
Seth Grover wrote:
1. The default FPC heap manager uses one heap per thread, right? I am
basing this assumption off of things I have read in various threads on
this and other mailing lists since around 2.2.x-ish
ends up having to compromise between on the
one hand using a compatibility layer to improve portability and on the
other using a server-specific library to be able to use all its facilities.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the au
successful apps for the App Store."
http://www.apple.com/pr/library/2010/09/09statement.html
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pasca
rules
are for port usage (i.e. whether the user has to be root or using the
root group is sufficient), but for a C program accessing a video capture
device I use
chown root:video v4lgrab
chmod g+s v4lgrab
That then allows the program to be run as part of an unprivileged CGI
script.
--
Mark
Can somebody confirm that the -an option ("List node info in assembler
file") is unavailable unless FPC is compiled with EXTDEBUG?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employer
Jonas Maebe wrote:
On 14 Oct 2010, at 11:44, Mark Morgan Lloyd wrote:
Can somebody confirm that the -an option ("List node info in assembler
file") is unavailable unless FPC is compiled with EXTDEBUG?
Correct.
Thanks Jonas. I was using -an to look at some of the SPARC code
ge
r else you want on top of that- but call
it something like Preemptive Coroutines :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - f
k order"
and a convenient hack is to use the endian-conversion functions
associated with socket programming, i.e. HtoNL() etc.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
n example program (as short as possible) that demonstrates
this? I've got 2.4.2 etc. running here and would be interested to try it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
just sitting
there locked up?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepasca
Jonas Maebe wrote:
On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote:
Is it possible to get any sort of activity indication that confirms that the
linker is actually doing something useful, rather than just sitting there
locked up?
No, there isn't. FPC currently does not show any o
Vincent Snijders wrote:
2010/12/28 Mark Morgan Lloyd :
Jonas Maebe wrote:
On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote:
Is it possible to get any sort of activity indication that confirms that
the linker is actually doing something useful, rather than just sitting
there locked up?
I
Jonas Maebe wrote:
On 28 Dec 2010, at 12:29, Mark Morgan Lloyd wrote:
FPC works well enough to compile itself on Solaris (as discussed elsewhere) so
I've got no reason to think that things are totally broken. However I've not
got a number of tools that I rely heavily on when run
>0% CPU, so it's probably contributing to the overcommit. I haven't a
clue what it's supposed to be doing in there...
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
but in the sort of extreme case
that I've currently got with Solaris I don't know at what point that
would peter out.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
Mark Morgan Lloyd wrote:
Jonas Maebe wrote:
The ld manual page lists some options you can use to reduce its memory
usage:
* --no-keep-memory (makes it re-read object symbol tables from time to
time instead of keeping them in memory all the time)
* --reduce-memory-overheads (small hash tables
e are lots of issues here, including the number of bits used
internally by the floating point hardware and whether it knows Pi to
this degree of precision. Also it might depend on optimisation level etc.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author
on this please: in this context is the
overloaded := effectively an implicit cast as well as an explicit operator?
Is the availability of overloaded + and := operators necessary and
sufficient for += to work correctly?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the
nnection object.
My expectation is that these short-term handles should not mandate a
name lookup, since the host name or address cannot be specified at this
point. Am I being unreasonable?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those
Michael Van Canneyt wrote:
On Fri, 31 Dec 2010, Mark Morgan Lloyd wrote:
I've just taken our name server down for maintenance, and noted that a
db-aware app I'd left running ground to a halt despite the fact that
it was only activating queries, not establishing new (named) connecti
in preference (or as a
supplement) to the IP address. I'll report back if I find anything
noteworthy.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-p
got around 512Mb total.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailm
Mark Morgan Lloyd wrote:
i compiled it with the svn version of fpc and of lazarus.
still the same error.
I've been having problems on one particular machine over the last few
days which I suspect are down to inadequate RAM+swap- I think I've only
got around 512Mb total.
Thi
appear to be a fairly good match to
what's in v8.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
sts that he did the work in late '07. Since he's a Debian
package maintainer etc. I'd expect him to have been using at least Etch
i.e. kernel 2.6.18.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not t
Jonas Maebe wrote:
On 14 Jan 2011, at 15:02, Mark Morgan Lloyd wrote:
Does anybody have an archived copy of FPC 2.x for SPARC Solaris v8 or older?
The ones available by FTP (2.1.1 and 2.4.2) both appear to be for Solaris 10,
i.e. expect newer libraries.
I suspect that it was available or at
m/helloworld.htm
Indeed. Note that the original author suggested that running it in a UML
(User Mode Linux) guest would be appropriate, I've used UML in the past
and found it very useful (although with comparatively slow disc access,
and limited to x86).
--
Mark Morgan Lloyd
markMLl .AT. tel
x binary utilities (as, ar, ld, make),
how you get those depends on what distro you're using.
cd /fpcsrc
make NOGDB=1 clean all
make install
then check that the ppc symlink in /usr/local is correct.
There is a build FAQ for this which you will need when you start trying
to do anyt
Pew (piffle.the.cat) wrote:
On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote:
Peter, I do not claim to be an experienced builder and I usually work
from a source release (currently 2.4.2) rather than from SVN so your
mileage may vary.
You will need the standard Linux binary utilities (as, ar
Mark Morgan Lloyd wrote:
Thanks for that, noted for next time :-) The solution turned out to be
fairly easy: the Solaris compiler uses dynamic libraries since some
(libm) don't exist in static form on 10 and others (libmd5 etc.) don't
exist in static form at all. Taking ppcsparc f
ike Apache modules and browser plugins plus no
doubt others.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.free
by a physical network problem or by server failure.
I can't speak for other types of connection, but
TPQConnection.Connected:=FALSE will sit there indefinitely if the
Ethernet plug is pulled out from the back of the computer.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opin
Check disregaring whitespace characters
That's somewhat abbreviated so that it's not screwed too badly by wrap.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
://www.perlmonks.org/index.pl?node_id=27509
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lis
michael.vancann...@wisa.be wrote:
On Wed, 26 Jan 2011, Mark Morgan Lloyd wrote:
As a comparative beginner, I still find myself stumbling across RTL
functions that I've previously hand-coded.
Is there an easy way of generating a complete permuted index from the
one-line descriptions o
d a simple KWIC list, even if I had to manually exclude some
possibilities.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@
is is complete but I note
http://sourceforge.net/projects/ioda/files/ioda/1.3/ioda-1.3-src.tar.bz2/download
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
Noted previous mention of TSNMPSend etc., but has anybody ever looked at
compiling an MIB into an FPC object for use with RTTI?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colle
emotest intention of looking at...
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
t I'm not sure it could
be done at runtime
I would go in the directly of IDispatch. COM object querying.
What are the cross-platform implications of that? Presumably once an MIB
description had been parsed it could be written out in any number of forms.
--
Mark Morgan Lloyd
m
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
I can definitely see why it would be useful, but I'm not sure it could
be done at runtime
I would go in the directly of IDispatch. COM object querying.
What are the cross-platform implications of that? Presumably
Sven Barth wrote:
On 29.01.2011 17:27, Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
I can definitely see why it would be useful, but I'm not sure it
could be done at runtime
I would go in the directly of IDispatch. COM object que
Given one or more lines of text which are known at compilation time, and
without the requirement to internationalize (these are, by RFC, US
ASCII), what is the best way to get them into a TStringList?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author
Should I be looking at resources here and if so could they be kept in
the main source file?
This is for a highly-experimental SNMP MIB to Pascal translator that I'm
tinkering with so- as an example- there will be a single class
describing an HP Ethernet switch which may be instantiated but
ble in the language by default, i.e. with no command line options,
embedded directives or "uses" statements.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
n was available before instantiation.
I'm assuming that the code that inspects the array has imported all
units so is aware of the relevant class declarations, but I am still
having problems with calling class methods and/or casting to a class (as
distinct from an instance).
--
Mark Mo
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
Is it possible to put a class (not an instance) in a variable or array
element, and to use this to call a class method?
I'm defining a hierarchy of classes and it would be convenient if it
were possible to reg
Mark Morgan Lloyd wrote:
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
Is it possible to put a class (not an instance) in a variable or
array element, and to use this to call a class method?
I'm defining a hierarchy of classes and it would be convenient
Jonas Maebe wrote:
On 09 Feb 2011, at 13:41, Mark Morgan Lloyd wrote:
I'm doing something wrong- it works.
I've got a sequence of classes, each with a Parent class procedure and
Children() class function which reference a global array associated
with each class (hardcoded name).
Luiz Americo Pereira Camara wrote:
On 9/2/2011 07:58, Mark Morgan Lloyd wrote:
Is it possible to put a class (not an instance) in a variable or array
element, and to use this to call a class method?
I'm defining a hierarchy of classes and it would be convenient if it
were possib
Are there any cases where a string variable will be allocated with
anything other than zero length, or a dynamic array will be allocated
with anything other than zero elements?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his empl
Jonas Maebe wrote:
On 10 Feb 2011, at 16:21, Mark Morgan Lloyd wrote:
Are there any cases where a string variable will be allocated with
anything other than zero length,
In case it's a shortstring, the initial data could be anything.
or a dynamic array will be allocated with anything
ith class procedures/functions that
are showing up in Lazarus, but not in fpdoc. What's the preferred format
for these?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
Michael Van Canneyt wrote:
On Fri, 11 Feb 2011, Mark Morgan Lloyd wrote:
I'm currently working on a translator from SNMP MIB files to Pascal,
and on a whim decided to see how well they documented. Two questions
if I may.
i) fpdoc appears to lose the fact that a procedure or functi
ce of
procedure entry/exits, preferably identified by name rather than by
address, using e.g. profiling hooks?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
Henry Vermaak wrote:
On 18 February 2011 18:19, Mark Morgan Lloyd
wrote:
I need to trace through a program, running on two different systems which
might or might not have the same OS, in order to find out where it's
failing.
Before I start giving myself a gdb refresher course or man
Tomas Hajny wrote:
On Sat, February 19, 2011 15:18, Mark Morgan Lloyd wrote:
Henry Vermaak wrote:
On 18 February 2011 18:19, Mark Morgan Lloyd
wrote:
I need to trace through a program, running on two different systems
which
might or might not have the same OS, in order to find out where it
Darius Blaszyk wrote:
On Feb 19, 2011, at 3:18 PM, Mark Morgan Lloyd wrote:
Henry Vermaak wrote:
On 18 February 2011 18:19, Mark Morgan Lloyd
wrote:
I need to trace through a program, running on two different systems which
might or might not have the same OS, in order to find out where it
xt: TFormattedString read xInitText;
The obvious problem here is that xInitText is a forward reference to an
unexported variable.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
Marcos Douglas wrote:
On Sat, Mar 5, 2011 at 8:24 AM, Mark Morgan Lloyd
wrote:
Where a unit exports an instance of an object, what's best practice for
making this read-only? I'm referring to the object reference itself here,
not properties of the object.
Where I've done this i
object, you could free the
read-only object by doing o.Free which is identical to InitText.Free,
i.e. you'd be using the declared destructor- which presumably could be
hidden from calls outside the exporting unit.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
ntics where the function has persistent
return value).
Thanks, I'd reluctantly come to the same conclusion. "Read only" in that
it doesn't expose a global variable which can be unintentionally written.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
Can anybody say whether there is a good reason that serial.pp lacks a
function to read the CD signal?
Is SerFlush, which calls fpfsync, intended to discard input data, output
data or both?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not tho
in
synaser. Please check my previous messages.
Thanks, noted.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist - fpc-p
Henry Vermaak wrote:
On 08/03/11 10:30, Mark Morgan Lloyd wrote:
Can anybody say whether there is a good reason that serial.pp lacks a
function to read the CD signal?
Is SerFlush, which calls fpfsync, intended to discard input data, output
data or both?
fsync just makes sure all the in
Henry Vermaak wrote:
On 09/03/11 11:30, Mark Morgan Lloyd wrote:
Henry Vermaak wrote:
On 08/03/11 10:30, Mark Morgan Lloyd wrote:
Can anybody say whether there is a good reason that serial.pp lacks a
function to read the CD signal?
Is SerFlush, which calls fpfsync, intended to discard input
Henry Vermaak wrote:
On 9 March 2011 15:54, wrote:
On , Mark Morgan Lloyd wrote:
I was using this to communicate with an HP instrument a few weeks ago, so
have my own re-implementation of some of the stuff. I'll look at doing a
patch, preparatory to seeing if I can hack a complementar
401 - 500 of 1129 matches
Mail list logo