On 11/09/18 16:15, Santiago A. wrote:
El 11/09/18 a las 12:30, Mark Morgan Lloyd escribió:> On 11/09/18 10:15,
Santiago A. wrote:>> Hello:FPC: 3.0.4 (Realease from Lazarus 1.8.4 SVN:
57972)OS: Windows7 >> 32bits / Linux 64Bits>> I have this code and I get
a
current/ref/refsu4.html#x26-250003.1.1
I have replaced it by
Entity:=Entity*10+LongWord(ord(FullParagraph[pIni]))-48;
That is, I have casted the result of "ord()" to longword. But I get the
same hint.What should I do to remove the hint?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .
On 30/08/18 12:00, Henry Vermaak wrote:
On Thu, Aug 30, 2018 at 10:57:21AM +, Mark Morgan Lloyd wrote:> Ah yes, that's it, thanks very
much.> > WriteLn(StdErr, Format('# Socket %s, clock resolution %8.6f uSec',>
[socketName, ts.tv_nsec / 1000]));>
On 30/08/18 10:15, Henry Vermaak wrote:
On Thu, Aug 30, 2018 at 09:45:00AM +, Mark Morgan Lloyd wrote:> On 30/08/18 09:00, Henry Vermaak wrote:> >On Thu, Aug 30, 2018 at
07:52:54AM +0200, Martin Schreiber wrote:> > >In order to flush textfiles automatically I use> &quo
:= output.inoutfunc;
(Is that latter form even valid any more?)
Please don't anybody put any effort into it- it's a very minor niggle
from my POV.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_
On 29/08/18 16:00, Henry Vermaak wrote:
On Wed, Aug 29, 2018 at 03:01:54PM +, Mark Morgan Lloyd wrote:> I think I've seen this question asked before, my
apologies if this was> recently.> > I've got two programs intended to be functionally identical, one in Perl
and&g
) at opportune times?
--
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/cgi-bin/mailman/listinfo/fpc-pascal
On 24/08/18 09:15, R0b0t1 wrote:
On Thu, Aug 23, 2018 at 6:28 AM, Mark Morgan Lloyd wrote:> On 23/08/18 10:00, Martin Schreiber wrote:>>>> On Thursday
23 August 2018 11:11:34 Bo Berglund wrote:> On Thu, 23 Aug>> 2018 09:00:07 +0200, Bo Berglund>> wrote:> &g
the years with different cores not having their
counters in step, with counter frequency following dynamic clocks rather
than being fixed and so on.
The AM2302 datasheet suggests that it's a device to be avoided assiduously.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions a
ALGOL-60 did this:
FOR I := 1 STEP 6 UNTIL M DO
BEGIN PCHTX(SYTB[I], WRITEBUFFER[0],
IF M-I > 6 THEN 6 ELSE M-I+1);
WRITE (PCH,10,WRITEBUFFER[*]);
CLEAR(WRITEBUFFER[0],9)
END;
I make no apology for the layout, since that's a fragment of Wirth's own
code.
--
ls and so on: all things I've
seen rejected offhand as "too much like C".
So come on chaps, at least get your history right and say that you
prefer the Pascal way and won't have any ALGOL crap messing it up.
Pax vobiscum.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT
of-scope.
Wirth moved variables outside blocks to make Pascal incompatible with
ALGOL, since after the disastrous ALGOL-68 fiasco he wanted to plough
his own furrow. That doesn't necessarily make the decision a wise one.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DO
n
of the compiler will get the new facility, so that those of us with code
that might clash can make sure we have version-specific conditionals in
place.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's,
On 20/06/18 17:30, Marco van de Voort wrote:
That would be C incompatible, which I thought was the main reason to haveit?
I don't believe Ryan said that (and I certainly didn't). It's the
functionality that counts, not slavish adherence to any particular syntax.
--
Ma
IIRC macros only work properly in comments delimited by
braces {}
--
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/cgi-bin/mailman/listinfo/fpc-pascal
t the PREPROCWRITE define is for?
My 1½d :-)
--
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.freepasc
bugging information?
I forget the detail but some language implementations have pragmata
which tell subsequent processing steps that at this point the source
should be considered to have come from such-and-such a line number in
such-and-such a file.
--
Mark Morgan Lloyd
markMLl .AT. telemetr
compilation of definition and implementation parts this would probably
impact on type safety. I believe that this too has been debated in the
past, and has attracted even less enthusiasm than a hook for an extrnal
preprocessor preprocessor.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT.
on that every
concatenation would result in a syscall.
I'd been expecting that SetLength() would do the same as it does with a
string, i.e. prune the valid range without releasing memory.
What I've done so far is only interim code and I've got lots of ways
round it, but the re
've just checked.
What actually happens is that the memory is released back to the heap
(but *not* to the OS, at least on Linux), with the result that
concatenating elements will introduce a substantial hit particularly if
space for a new element allocated from the heap isn't contiguo
able to modify language like that is really impressive.
I agree, which is the main reason I posted the link.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
com/Perl6/web/APL.html
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
http://webcache.googleusercontent.com/search?q=cache:ag72S4uAW30J:http://www.dlugosz.com/Perl6/web/APL.html%2B%22provide+SIMD+processing
l wait and see if people complain... So *maybe* we'll
change this.
+1 for the possibility to overload this operator.
It would be reasonable to assume that the predefined + might be
substantially more efficient than a programmer-defined one could be.
--
Mark Morgan Lloyd
markMLl .AT. te
ely splitting dynamic arrays
into mathematical vectors and non-mathematical collections. Or relaxing
the requirement that only predefined operators can be redefined, so that
something like _ could be used for concatenation.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above
s certainly a valiant attempt, although my tastes run towards
systems with robust protection between segments/addressspaces.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
for dynamic arrays no longer compile.
Does that only apply when both operands are compatible dynamic arrays,
or does it also break definition of + to append an element to an array?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not t
really needed, and since this program should be usable as a
system's "sanity check" is there any way to improve the error reporting?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his emp
t a better grip on it.
Basic operation of the the text IDE appeared OK, as did a program
written using a text-mode dialogue editor (Dialedit3b); however I
suspect that an abrupt switch from landscape to portrait mode is likely
to be a problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.c
, etc.
On 05/10/2018 07:19 AM, Mark Morgan Lloyd wrote:> Has anybody come
across https://wiki.termux.com/wiki/Main_Page which > I've seen
mentioned elsewhere?>> It's supposedly a Linux environment into which
one can install > standard development tools etc.>
Has anybody come across https://wiki.termux.com/wiki/Main_Page which
I've seen mentioned elsewhere?
It's supposedly a Linux environment into which one can install standard
development tools etc.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the aut
try/exit counters on functions that I suspect are
going to be a problem, InterlockedIncrement() etc. You can obviously
have your code check that as a verification of sanity, or pick up a haig
value using a conditional breakpoint.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions ab
n
included...
I agree. Another possibility is something like
{$if declared(customDebugWrite) }
customDebugWrite(...);
{$endif declared() }
so if customDebugWrite() isn't present in the program during compilation
(commented out, or the entire unit containing it omitted) no attempt
wi
as an editor, but these days trivial.
Historically, things like "text" and "file of string[80]" have been
fraught because of OS-specific interpretations of what a line of text
was. These days there are still ambiguities because of UTF-8 etc.
--
Mark Morgan Lloyd
markMLl .
uple of trees or similar (but please, no prey
animals).
There's also the important question of whether an image selected as a
logo can be scaled down to be used as an icon.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the
g an IP address
inside your comms protocol since you'll end up with a proxying nightmare
like VOIP.
The only time I've really needed to play with this was when trying to
work out a machine's local neighbours so I could see whether they
responded to a non-standard UDP protocol.
--
);
MyConnection.Connected := True; WriteLn('2.6');
It never hits 2.0, so I believe it is dying on the create. Am I doingthe create
wrong? I can't find any examples as too doing this, I havetried googling it.
Most of the examples I see are doing this fromLazarus. Not from a c
mouse.
--
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/cgi-bin/mailman/lis
at'. i
waited 10-20seconds.
What happens if you put an Application.ProcessMessages in there?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pas
al class diagram having uses and> aggregation
of other classes would be very helpful.
There is also a Lazarus port of Ess-Model called Laz-Model.See:
https://github.com/dicepd/Laz-ModelIt is indeed a reverse-engineering class
diagram tool.
Mnagled URL warning :-)
https://github.com/dicepd/
g4ugm/vm-370/VM370sixpack-1_3-Beta.zip
which will run on top of the Hercules emulator. I can't remember whether
he was able to compile it using FPC, there were some string-expansion
issues (relating to mainframes using fixed-length records) giving him
problems.
Gotta go, venison
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/cgi-bin/mailman/listinfo/fpc-pascal
On 22/12/17 12:45, leledumbo via fpc-pascal wrote:
Why?
At least pointer size takes double space, multiply it with every instances1.5x
bigger is not impossible.
Particularly if the binary contains debugging information.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
il command as a generic mailer. On Windows
Blat is an alternative.
--
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-pasc
On 20/11/17 12:00, Schindler Karl-Michael wrote:
Am 20.11.2017 um 12:00 schrieb fpc-pascal-requ...@lists.freepascal.org:> > Date: Sun, 19 Nov 2017 11:14:50 +> From: Mark Morgan Lloyd
> To: fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] FORTRAN from FreePasc
On 19/11/17 12:15, Bo Berglund wrote:
On Sun, 19 Nov 2017 11:14:50 +, Mark Morgan
Lloyd wrote:
I think we're in broad agreement though: don't try converting backend >code unless
you know exactly what you're doing, and Pascal (including >Lazarus/LCL etc.) can
be valua
On 19/11/17 10:15, Adriaan van Os wrote:
Mark Morgan Lloyd wrote:
That obviously applies to all languages, I've never come across >
something which can represent 1/3 or pi exactly.
If you do read what is written in the link - that is not the issue. The
issue is how to interpret floati
On 19/11/17 04:00, Adriaan van Os wrote:
Mark Morgan Lloyd wrote:> I think that conventional wisdom is that if
somebody's written numerical > analysis code you don't change it
gratuitously, since any alterations > will change rounding errors etc.
For some reason,
On 18/11/17 21:15, pasc...@piments.com wrote:
On 18/11/17 20:27, Mark Morgan Lloyd wrote:> because the program is
being viewed critically by the ALGOL programmer > whose code
Algol, one my all time favourite languages.
while wendif fi
why is this not universally adopted?
I
On 18/11/17 19:30, Graeme Geldenhuys wrote:
On 2017-11-18 15:44, Mark Morgan Lloyd wrote:> How should one do this?>
https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html>
implies that it's only for text files, Seek(f, FileSize(f)) seems
excessive.
Just curious,
On 18/11/17 19:45, Bo Berglund wrote:
On Sat, 18 Nov 2017 17:06:25 +, Mark Morgan
Lloyd wrote:
I find myself wondering, in part due to conversations elsewhere: can the >Lazarus
IDE do anything at all sane with a FORTRAN routine called from >Pascal?
In the D7 application writ
ib.org/clapack/readme.maintain>
I find myself wondering, in part due to conversations elsewhere: can the
Lazarus IDE do anything at all sane with a FORTRAN routine called from
Pascal?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his e
How should one do this?
https://www.freepascal.org/docs-html/current/rtl/system/seekeof.html
implies that it's only for text files, Seek(f, FileSize(f)) seems excessive.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his em
companies have long had translators from FORTRAN to
ALGOL (particularly in the case of B who I don't think had a native
compiler) or other languages, but I'd have thought that a full
translation would be best avoided if possible.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
On 12/11/17 09:30, Graeme Geldenhuys wrote:
On 2017-11-11 18:41, Mark Morgan Lloyd wrote:> the FPC/Lazarus controls
do a good job of presenting a common API> irrespective of what backend
server is being used, would it be feasible> to have a "reconnect
monitor" or similar t
arly vulnerable, and noting that
the FPC/Lazarus controls do a good job of presenting a common API
irrespective of what backend server is being used, would it be feasible
to have a "reconnect monitor" or similar to help recover from this sort
of thing?
--
Mark Morgan Lloyd
markMLl .AT. te
On 09/11/17 23:15, Graeme Geldenhuys wrote:
Does FPC support the MINIX 3 target platform? Or has somebody attempted
to port FPC to that platform?
Interesting question, particularly now that it's being factory-installed :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opi
On 27/09/17 18:30, Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:> > Can you ellaborate a bit more on this Michael?
Like how and where it isused? (Not mentioning company names, if it's a problem.) I was thinkingabout using
it in various places, but as I
to dataflow. As such they were predictable and
could be worked round.
--
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@list
or my speculation generating noise.
--
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.o
On 26/09/17 19:00, leledumbo via fpc-pascal wrote:
Would it be possible to do this via a Lua shim?
How is it even related with that?
I thought FPC had the ability to execute a fragment of Lua, and Lua I
believe can call C++ directly.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
e it
as an opaque pointer. std::vector is template/generic C++class that implements
a dynamic array functionality, but it can't be usedoutside C++.
Would it be possible to do this via a Lua shim?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author
gexample:
In the general case, will these force a membar or a cache flush?
--
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@li
ssumptions about the
amount of data you get in one call. It's not reasonable to assume that
buffers for serial comms are limitless, 2K is entirely reasonable to
support most serial comms protocols or an 80x25 screen.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions ab
t PCI-connected serial ports rather than relying on USB-connected
ports.
--
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 -
responsible for. Refer to the Windows API for any limits.
--
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
sof precision, so when you force a 30 digit precision
output, anythingpast 16 digits is random garbage, at best...
And in any event, that's probably much more precision than the GPU is
using to generate the final image :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions
it still works properly with a range of compiler (and FCL/LCL)
versions.
In cases where there's been a change in default behaviour as the
compiler has matured, please could we have the breaking version numbers
noted explicitly.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DO
On 18/08/17 07:45, Graeme Geldenhuys wrote:
On 2017-08-18 08:15, Mark Morgan Lloyd wrote:> There's a> specific
gotcha related to differences in the way Linux and Solaris> handle
select(),
I saw some of those in th serial.pp in FPC trunk. Thanks for the
information.
I'v
the appropriate ioctls on all character devices, but
things might break.
--
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
hat is a weird definition though IMHO.
Astronomer's convention.
--
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.
hink it might
be worth noting the PostgreSQL way:
$$Dianne's horse$$
$SomeTag$Dianne's horse$SomeTag$
$function$
BEGIN
RETURN ($1 ~ $q$[\t\r\n\v\\]$q$);
END;
$function$
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of h
On 03/07/17 21:00, Bo Berglund wrote:
On Sun, 2 Jul 2017 12:27:45 +, Mark Morgan
Lloyd wrote:
You were asking a few days ago about Application.ProcessMessages but >didn't
respond to my attempt to tease out your understanding of what was >happening. Have
you sorted that
;t respond to my attempt to tease out your understanding of what was
happening. Have you sorted that out to your satisfaction?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employer
Application.Processmessages, which Ibelieve cannot be used in a console
program.How can I replace it?
You're obviously correct that APM doesn't exist in a text-only program
because it's part of the LCL. But I think you need to ask yourself why
you need to /replace/ it, rather than just removing it.
r all form creation etc. has completed. *)
BEGIN
..
END { TListForm.OnAfterShow } ;
That can loop, but make sure you put Application.ProcessMessages in it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employer
ecify the files as binary ortext files? Connect is
overloaded
I've not looked at the example but sockets should be transparent.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
do I
have to use the full /dev/ttyUSB1?
You *definitely* have to use the name as given. You're opening a file in
the filesystem tree, not an internally-reserved name.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers
ectly bug-free.
Unfortunately no fpc/Lazarus port yet.
I tend to use the lower-level serial.pp unit. The patches I contributed
a couple of years ago specifically added a couple of read-with-timeout
functions.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the auth
On 15/06/17 17:45, Bernd Mueller wrote:
On 06/15/2017 10:34 AM, Mark Morgan Lloyd wrote:
Yes, but I was asking about the FPC situation. I'm desperately
resisting local pressure to write code that might end up non-trivial
in C/C++.
I realized a project with an ATTiny1634. Nothing speci
On 15/06/17 16:45, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Thu, 15 Jun 2017, Mark Morgan Lloyd wrote:
At the risk of making myself unpopular: because right now I /don't/ have> time.
Sorry, I didn't mean this personal to you. I was just a bit triggered onthe fact that
people of
On 15/06/17 11:30, Karoly Balogh (Charlie/SGR) wrote:
Hi,
On Thu, 15 Jun 2017, Mark Morgan Lloyd wrote:
mikroPascal (not free) supports AVR and many other chips.> >
https://shop.mikroe.com/compilers/mikropascal/avr-electronic-license> > Brian>> Yes, but
I was asking about
On 15/06/17 11:15, Rainer Stratmann wrote:
Am Donnerstag, 15. Juni 2017, 08:34:49 schrieb Mark Morgan Lloyd:> On 14/06/17 20:15, Brian wrote:>
> mikroPascal (not free) supports AVR and many other chips.> >
https://shop.mikroe.com/compilers/mikropascal/avr-electronic-license&
p non-trivial in C/C++.
--
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/cgi-b
What sort of targets are people looking at, what sort of debugging is
available, and has anybody experimented with the "AVR Dragon"?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employer
On 02/06/17 11:00, Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:> > 8 apparently, but off_t is
documented as a cint32.> >
https://www.freepascal.org/docs-html/current/rtl/unixtype/off_t.html
The declaration is
{$if not defined(fs32bit)}off_t
On 02/06/17 10:00, Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:> Could I have a reality check
please: is there no fpLSeek64() for files > larger than 2Gb?
Afaik, there is no such posix calls. In the past, most linux temporarily
hadsome -64 calls while it le
Could I have a reality check please: is there no fpLSeek64() for files
larger than 2Gb?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal mai
On 29/05/17 05:15, Ryan Joseph wrote:
On May 28, 2017, at 5:22 PM, Mark Morgan Lloyd wrote:> >> IMO
though it does improve readability in long functions with lots of>> parameters, like windows api style
procedures that have 5 or more>> parameters and you can't
doEventQueue.Enqueue($8000 + canonical(mc))
end
end { SendMechCodeToLineASCII } ;
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pasca
On 27/05/17 10:20, Ryan Joseph wrote:
On May 27, 2017, at 5:13 PM, Mark Morgan Lloyd
wrote:> > someFunction(TPoint(X:0.0; Y:0.0));> > Pascal purists would probably object
to that style, since what it's effectively doing is passing the parameters as an explicit list.
I menti
such things, it's possible to
merge the translation/rotation matrices so that the final transformation
can be reduced to a single operation.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employer
nt doesn't allow it to be done inline:
someFunction(TPoint(X:0.0; Y:0.0));
Pascal purists would probably object to that style, since what it's
effectively doing is passing the parameters as an explicit list.
Somebody please correct me it I'm wrong.
--
Mark Morgan Lloyd
mar
able to read this syntax ?
It would probably be possible to do it by using a record with nullable
fields as the parameter.
Otherwise if you want that sort of thing use Smalltalk :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of
On 20/05/17 12:30, Bart wrote:
On 5/20/17, Mark Morgan Lloyd wrote:
According to the Programmer's Guide 1.3.41, {$EXTENDEDSYNTAX OFF} has> the
effect of permitting the result of a function to be ignored.
Isn't that just the other way around?
"Extended syntax allows you to
According to the Programmer's Guide 1.3.41, {$EXTENDEDSYNTAX OFF} has
the effect of permitting the result of a function to be ignored.
However it also appears to (at least) prohibit functions/procedures with
optional parameters: can these be controlled separately?
--
Mark Morgan
, since
this is a user rather than a developer question.
What's the current situation with FPC interface to the Subversion
support libraries which I think is something you were looking at at one
point?
In extremis, I suppose that it should be possible for a program written
in FPC to u
he results are a bit
odd and the author's had to use a lot of carefully tweaked timings which
suggests that something's not quite right... 750 Baud, anybody? :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of hi
On 08/05/17 18:30, Felipe Monteiro de Carvalho wrote:
On Sun, May 7, 2017 at 8:33 PM, Mark Morgan
Lloyd wrote:> Can anybody give me a quick
summary of the position of FPC on Android etc.?
Works fine like via JNI, you can do most stuff in Pascal using JNI butpart
still needs to be in J
without a great deal of work would, I think, be in everybody's
interest.
--
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-pa
On 08/05/17 14:30, Paul Breneman wrote:
On 05/08/2017 09:11 AM, Mark Morgan Lloyd wrote:...> It's on the
manufacturer-specific pins. The specs are NOT freely> available, and if
the description I've seen so far is to be believed the> comms run at 800
bps.>
Thanks for t
1 - 100 of 1129 matches
Mail list logo