Is there a need by anyone for a TString where one could add to a string
(TString.Add) without any CRLF (line feeds) and modify a string as an
object?
I have needed this several times as the TStringList linefeeds get in the
way. It's similar to say some kind of stringlist but focuses only on an
I noticed freepascal has some PortAudio related code (AFAICT fredvs has
contributed some units here too)..
Can portaudio, the cross platform API, be used on macOS?
Does it allow writing audio files and adding data to existing audio
files?
Looking to cut/paste audio into an existing audio str
On 2017-08-27 21:12, Paulo Costa wrote:
On 27-Aug-17 23:47, Dmitry Boyarintsev wrote:
Is 2 neither true, nor false? 3? 4?
If false is zero,
Then true is not false.
Also C doesn't have a boolean type per se. Iirc it was introduced in
some version of c++ standard.
In C it's very strange to se
On 2017-08-27 06:22, Dmitry Boyarintsev wrote:
On Sun, Aug 27, 2017 at 2:37 AM, wrote:
Why borland chose the bool to not be 100 percent compatible, and
only 50 percent compatible?
Bool in delphi:
true = -1
Bool in C:
true = ($) 1
Why not just make it exactly compatible, there m
On 2017-08-27 14:52, James Richters wrote:
i think you're looking for IPC (InterProcess Communication)... with
this, the second instance would load up, find that there is one
already running, tell the already running one about the new file to
load, and then exit...
Thank you, that is exactly
On 2017-08-27 12:25, mar...@stack.nl wrote:
In our previous episode, nore...@z505.com said:
> rarer
> cases)
That's good news, does Delphi need to add a boolean8/16/32 some day,
or
already has?
I don't know. FPC needed it for GTK interfacing, but FPC doesn't use
it.
The main headers inte
On 2017-08-26 17:09, mar...@stack.nl wrote:
In our previous episode, nore...@z505.com said:
But it gets worse than that: even fpc/delphi's bool is not always
compatible (but is sometimes).
For example:
http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/
When one must use Integers
On 2017-08-26 17:22, mar...@stack.nl wrote:
In our previous episode, Michael Van Canneyt said:
I think the programmer *must* worry about the details and must
definitely
NOT use the booleans for anything C related. That was my point.
The interface uses bool, either as param or in a structure.
On 2017-08-26 02:50, Michael Van Canneyt wrote:
I thought all this BOOL mess was just meant to be able to interface
with C
libs slightly easier.
But, why is the BOOL in fpc/delphi not compatible with C BOOL, in that
it has different semantics?
One value lines up correct... but not always th
What about the BOOL issue..
We know that Boolean in fpc/delphi is not compatible with a C bool
But it gets worse than that: even fpc/delphi's bool is not always
compatible (but is sometimes).
For example:
http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/
When one must use Inte
On 2017-08-22 04:04, mar...@stack.nl wrote:
In our previous episode, Dmitry Boyarintsev said:
I'm using Chelper. (http://wiki.freepascal.org/Chelper)
It's my choice, because it preserves comments (which is usually an
important part of open-source libs)
plus, can be configured to handle library
On 2017-08-21 13:08, mar...@stack.nl wrote:
In our previous episode, Michael Van Canneyt said:
> I am looking to convert the GNU MPFR library header files, or hire
> someone on a bounty to do it if header translation is not so easy with
> h2pas and requires lots of hand work, and close checking.
On 2017-08-21 20:34, Dmitry Boyarintsev wrote:
On Sun, Aug 20, 2017 at 5:37 PM, wrote:
Is there a competing tool that does more, or is updated more?
How about this list?
http://wiki.freepascal.org/C_to_Pascal
That's a good one, I missed that.. could not find it previously when
searching g
On 2017-08-20 16:29, I previously wrote:
On 2017-08-10 22:45, Stuart Cox wrote:
Have a look at http://www.wolfgang-ehrhardt.de/
Thanks, looks interesting!
I could not find the maximum supported length of a number (multi
gigabyte?) or number string though..
i.e. for big numbers, but how big
Forgive me, I have forgotten, this may have been discussed before..
Is h2pas the latest tool to convert C headers to pas files?
Is there a competing tool that does more, or is updated more?
I remember Bob Swart AFAIR had a popular tool for delphi.
And some people use multiple tools if one tool
On 2017-08-10 22:45, Stuart Cox wrote:
Have a look at http://www.wolfgang-ehrhardt.de/
Thanks, looks interesting!
I could not find the maximum supported length of a number (multi
gigabyte?) or number string though..
i.e. for big numbers, but how big? Big is a vague term :-)
It might be m
On 2017-07-26 06:34, Sven Barth via fpc-pascal wrote:
Am 26.07.2017 10:59 schrieb "Martok" :
> Ideally the function should be portable between FPC and Delphi
XE5...
You'd only need your own functions for Delphi, FPC's intrinsics such
as Insert()
can already work with arrays:
var
b, c: TB
On 2017-07-25 11:00, Martok wrote:
Ideally the function should be portable between FPC and Delphi XE5...
You'd only need your own functions for Delphi, FPC's intrinsics such as
Insert()
can already work with arrays:
var
b, c: TBytes;
begin
b:= TBytes.Create(1,2,3);
c:= TBytes.Create(10,1
Here is another utility for really large numbers:
https://github.com/graemeg/freepascal/tree/master/packages/gmp
GMP (multi precision) bindings for fpc
This has been around for quite a while and should be well known - I
either forgot about it, or memory faded, or it didn't register in my
mind
On 2017-07-20 05:00, Graeme Geldenhuys wrote:
Hi,
Not strictly FPC related, but I know here are some OS/2 software
developers around - and I have no idea where else to ask.
Isn't OS/2 from pre-win95 days and is very risky to support since it's
dead?
Related:
"OS/2: Blue Lion to be the next
On 2017-07-21 07:16, Sven Barth via fpc-pascal wrote:
Am 21.07.2017 10:44 schrieb "Santiago A." :
El 20/07/2017 a las 15:50, Sven Barth via fpc-pascal escribió:
Am 20.07.2017 13:01 schrieb "Bo Berglund" :
>
> On Thu, 20 Jul 2017 11:11:50 +0200, Maciej Izak
> wrote:
>
> >2017-07-20 11:03 GMT+
On 2017-07-09 04:36, Michael Van Canneyt wrote:
Forwarded at request of fra...@rhost.it:
On Fri, 7 Jul 2017, nore...@z505.com wrote:
For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine,
why can't the math be broken down into peices the way a human does it
on paper,
On 2017-07-08 08:29, Ched wrote:
Is this acceptable ?
'SELECT Customers.CustomerName, Orders.OrderID' +
'FROM Customers' +
'FULL OUTER JOIN Orders' +
'ON Customers.CustomerID = Orders.CustomerID' +
'ORDER BY Customers.CustomerName;'
I think that one have to insert space at some loactions:
'SE
On 2017-07-07 17:08, Bart wrote:
On 7/7/17, nore...@z505.com wrote:
For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine,
why can't the math be broken down into peices the way a human does it
on
paper, and then theoretically any number can be added and subtracted,
even if it
For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine,
why can't the math be broken down into peices the way a human does it on
paper, and then theoretically any number can be added and subtracted,
even if it is beyond 32/64 bit?
Example:
type TSuperLargeInt = string;
var
i
On 2017-07-06 09:13, Graeme Geldenhuys wrote:
Ever had a problem like this? You have some SQL, say:
SELECT Customers.CustomerName, Orders.OrderID
FROM Customers
FULL OUTER JOIN Orders
ON Customers.CustomerID = Orders.CustomerID
ORDER BY Customers.CustomerName;
and you want to add that SQL to
On 2017-06-09 02:35, Michael Van Canneyt wrote:
On Fri, 9 Jun 2017, Felipe Monteiro de Carvalho wrote:
On Fri, Jun 9, 2017 at 9:05 AM, Mattias Gaertner
wrote:
So will lazarus be converting the IDE over to cocoa?
Probably.
Most stuff already works in Cocoa.
I haven't used LCL-Carbon for m
On 2017-06-09 02:22, Felipe Monteiro de Carvalho wrote:
On Fri, Jun 9, 2017 at 9:05 AM, Mattias Gaertner
wrote:
So will lazarus be converting the IDE over to cocoa?
Probably.
Most stuff already works in Cocoa.
I haven't used LCL-Carbon for my personal projects in years, although
I still us
On 2017-06-07 10:45, Adriaan van Os wrote:
But as with everything Apple does (which is so G*d damn stupid), they
keep on reducing functionality and removing >> all the useful features
from the OS to dumb it down more and more - because all consumers are
dumb asses right.
;-)
Fully agreed. A
What sort of macOS abilities does fpGUI have?
Is fpGUI mostly for linux/bsd/windows, and not as much macOS?
Does it require some work to get it working, or installations of stuff
that macOS doesn't normally have installed?
Thanks.
___
fpc-pascal mai
On 2017-05-27 01:17, Mr Bee via fpc-pascal wrote:
Hi,
As Pascal mostly well known as a safe, easy to read, and elegant
language, don't you think Pascal needs named parameter? I mean for ALL
kind of parameters, not just for Variants. When you have a function
with many parameters having default va
On 2017-05-23 22:13, Ryan Joseph wrote:
I’ve wasted so much time on this I just need to stop and ask for help
already. Over the last few years I’ve been picking away at OpenGL and
only ever got the legacy 2.x API to work which has been fine for
making 2D games but I wanted to at least learn the m
On 2017-05-25 08:14, Marcos Douglas B. Santos wrote:
On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys
wrote:
2. How did you garantee that others applications aren't being using
the same port as your application to avoind conflicts?
I looked at the official IANA list of registered port numb
On 2017-05-23 20:52, Marcos Douglas B. Santos wrote:
On Tue, May 23, 2017 at 9:29 PM, wrote:
Exe is a security hazard that could barf up a person's hard drive
instantly
or create viruses..
I understand these security reasons and I agree, of course...
But this Exe that I am talking about sho
On 2017-05-22 21:53, Marcos Douglas B. Santos wrote:
Hi,
If you have some apps or components which was written in Object Pascal
and you would like to use them in Web applications (client-side,
previously installed) what is the best option to choose nowadays?
My users use Windows so, I thought i
On 2017-05-18 10:12, Graeme Geldenhuys wrote:
On 2017-05-18 16:04, Ryan Joseph wrote:
After I looked at the code I didn't see anything strange about it
Thank you, that's what I thought too.
it just got me thinking, if that code can be that slow how slow is
all the stuff I’m writing on a dail
On 2017-05-18 19:54, Ryan Joseph wrote:
On May 18, 2017, at 10:40 PM, Jon Foster
wrote:
62.44 1.33 1.33 fpc_frac_real
26.76 1.90 0.57 MATH_$$_FLOOR$EXTENDED$$LONGINT
10.33 2.12 0.22 FPC_DIV_INT64
Thanks for pr
On 2017-05-19 05:25, Graeme Geldenhuys wrote:
On 2017-05-19 06:58, Florian Klämpfl wrote:
Over the weekend I’ll verify by testing on both FreeBSD and Windows,
and
then see if “calling conventions” make any difference.
*BSD is the same as Linux.
Good to know, thanks.
It has its purposes, b
On 2017-05-19 06:16, Graeme Geldenhuys wrote:
On 2017-05-18 16:33, Reimar Grabowski wrote:
and JS is clearly not faster than FPC.
The JavaScript version runs very smooth on my system. There is no
framerate counter though, so I don't know how much faster.
http://jsdo.it/notch/dB1E
Again, w
On 2017-05-19 06:32, Graeme Geldenhuys wrote:
Bottom line is, with the exact same code, NO work-arounds is required
for GCC or Java! So why must we have work-arounds for FPC? It's a
compiler or RTL issue - not being able to understand the code good
enough to generate more efficient binaries.
Ag
On 2017-05-16 04:55, Michael Schnell wrote:
On 16.05.2017 07:30, Michael Van Canneyt wrote:
select is basically what peekmessage does.
AFAIK "select()" (and - more versatile - "poll()" ) in Linux uses
an appropriate system call to wait on one of multiple events (i.e.
devices, including e.g.
On 2017-05-18 08:23, Graeme Geldenhuys wrote:
On 2017-05-18 13:42, Reimar Grabowski wrote:
The GPU also does clipping calculations
based on the viewpoint (camera position) in the 3D scene.
Camera position?
OpenGL has no concept of a camera.
Yes, yes, but you know what I mean. Camera, View Poi
On 2017-05-18 07:42, Reimar Grabowski wrote:
Camera position?
OpenGL has no concept of a camera.
When I toyed around with Andorra3D it had some concept/code for a
Camera, but he may have added it with his own code, not sure if he used
built in directx/opengl code
On 2017-05-17 02:57, mar...@stack.nl wrote:
In our previous episode, nore...@z505.com said:
i.e. if you end up using opengl, or its successor, why does it even
matter if FPC pure games without any libs are slow?
You still need to calculate all the vertices that you send to the
graphics
card
On 2017-05-17 00:14, nore...@z505.com wrote:
On 2017-05-16 09:10, Jon Foster wrote:
I think the key word in Graeme's complaint is "game". And I'm willing
to bet that most of his envisioned gaming scenarios deal with a lot of
floating point math and the more advanced math functions. A quick
glan
On 2017-05-17 00:54, Sven Barth via fpc-pascal wrote:
OnIdle() is called when there is no more event waiting in the
widgetset's event queue, basically meaning that the application has
nothing better to do anyway. It has nothing to do with CPU usage.
That makes sense.
And recursively what happe
On 2017-05-16 09:20, fredvs wrote:
Michael Van Canneyt wrote
On Tue, 16 May 2017, fredvs wrote:
Michael Van Canneyt wrote
What can be misunderstood about adding --gc-sections to the linker
options if -XX is used on the command-line ?
Ha, the way you present it seems to show that you did und
On 2017-05-17 00:14, nore...@z505.com wrote:
On 2017-05-16 09:10, Jon Foster wrote:
I think the key word in Graeme's complaint is "game". And I'm willing
to bet that most of his envisioned gaming scenarios deal with a lot of
floating point math and the more advanced math functions. A quick
glan
On 2017-05-15 17:37, James Richters wrote:
I have managed to get ptcgraph and ptccrt to work with my program and
I can report that there is an AMAZING increase in graphics
performance! It is pretty much a drop in replacement and I did not
change any compiler settings. I did have to make a few
On 2017-05-16 09:10, Jon Foster wrote:
I think the key word in Graeme's complaint is "game". And I'm willing
to bet that most of his envisioned gaming scenarios deal with a lot of
floating point math and the more advanced math functions. A quick
glance over his example code and I'm willing to be
On 2017-05-15 17:27, Graeme Geldenhuys wrote:
On 2017-05-15 22:50, nore...@z505.com wrote:
Graeme will need to clarify whether he was trying to be harsh on FPC
entirely, or just specifically in some areas.. :-)
I'll try and clarify... I believe FPC generates slow (or slower than
Delphi, GCC an
On 2017-05-15 04:36, Michael Schnell wrote:
On 12.05.2017 16:37, Michael Van Canneyt wrote:
Check manually. What else is left ? There is no message queue, so no
loop in which to check at regular basis.
For event processing in a not threaded project or in the main thread
of a threaded projec
On 2017-05-16 03:15, fredvs wrote:
noreply wrote
On 2017-05-15 04:26, fredvs wrote:
After lot of fight, there is a solution: using -*-gc-sections*.
And the question was :
/Why FPC does not provide --gc-sections to the linker with the -XX
paramer
for libraries ? (Bug ?) /
Hopefully that
On 2017-05-12 09:37, Michael Van Canneyt wrote:
Obviously "avoid threads where possible" but only if there is a
simpler mechanism not reinventing a thread. So it seems to me onidle
in fpgui is a simpler way than creating a new separate thread
yourself, but how to do it in a program that has no
On 2017-05-15 01:02, Sven Barth via fpc-pascal wrote:
Wow, Graeme! That's harsh. One of the last set of benchmarks I did
that focused on integer math and procedure call speed came out as
follows:
I think he specifically meant graphics apps, not general apps
While a raytracer is indeed a grap
On 2017-05-15 04:26, fredvs wrote:
After lot of fight, there is a solution: using -*-gc-sections*.
And the question was :
/Why FPC does not provide --gc-sections to the linker with the -XX
paramer
for libraries ? (Bug ?) /
Hopefully that's all there is to it, but how do you know that this
On 2017-05-15 04:19, Michael Van Canneyt wrote:
If you want to compare today, you need to add the sizes of all the C
libraries that are loaded during execution of a C program with the
size of an FPC program.
I think you'll find that the sizes of FPC programs are not so different
then.
Just ch
On 2017-05-11 18:57, Jon Foster wrote:
On 05/11/2017 02:48 PM, Graeme Geldenhuys wrote:
On 2017-05-11 19:43, James Richters wrote:
Any Suggestions?
Speed:
In recent graphics work I've done, I've noticed that FPC is
fantastic
at created cross-platform applications. But the generated bina
On 2017-05-11 16:48, Graeme Geldenhuys wrote:
On 2017-05-11 19:43, James Richters wrote:
Any Suggestions?
Speed:
In recent graphics work I've done, I've noticed that FPC is fantastic
at created cross-platform applications. But the generated binaries
are NOT fast at all - no matter how ma
Is the best general way to check IPC messages in SimpleIPC to spawn a
thread? and check
I noticed in fpgui sample apps that use simpleipc, graemeg checks the
messages in the fpgui OnIdle event, AFAICT, not a separate thread. But
what if you are running a console mode program that has no onidle
On 2017-05-08 03:27, Graeme Geldenhuys wrote:
In the fpGUI repository there are a few examples of SimpleIPC
usage. The examples/apps/nanoedit/ uses it.
That is Cool! Might fork this project on github and create NanoPlug with
a small plugin system. Had a NotePlug prototype years ago that I nev
On 2017-05-08 03:40, Graeme Geldenhuys wrote:
On 2017-05-08 06:17, nore...@z505.com wrote:
Or there
could already be an examples feature in the docs that I don't know
about.
fpdoc already supports "Examples" for some years now - I use it very
often
in fpGUI and tiOPF's class documentation.
On 2017-05-08 03:27, Graeme Geldenhuys wrote:
On 2017-05-08 06:17, nore...@z505.com wrote:
Can't seem to find them in the current docs.
In the fpGUI repository there are a few examples of SimpleIPC
usage. The examples/apps/nanoedit/ uses it. The
examples/apps/debugserver/
uses it. I think th
I thought I remember some simpleipc examples in the documentation a
while ago (years ago)..
Can't seem to find them in the current docs.
Were they moved elsewhere or did I miss finding them?
For what I need I will probably not be using any lazarus components,
but rather ipc without LCL invol
With simpleipc you can send a string.
I am wondering what type of string is safe to send?
i.e. what happens with utf8 or unicode?
Is it meant to send a regular string (like a pointer to char) and not
more complex strings? Both?
Because if a string is being sent across two different separate
On 2017-05-05 14:27, Brian wrote:
Affinity
If a thread is dedicated to say , polling a serial or Ethernet port
which
has a high input data rate , then dedicating one CPU to that
task/thread is
useful.
Isn't the speed of serial (so slow) that it would be overkill to
dedicate a Cpu to it?
On 2017-05-03 06:49, Peter wrote:
On 03/05/17 00:53, Marc Santhoff wrote:
Hi,
for playing around I would need a grammar of Object Pascal. I do not
care for which tool it is written or at best if it is plain EBNF.
Does such grammar exist?
TIA,
Marc
I found grammar for Delphi once.
Trying t
On 2017-04-28 01:01, Ryan Joseph wrote:
On Apr 28, 2017, at 12:43 PM, Sven Barth via fpc-pascal
wrote:
It would introduce an ambiguity as "(x" could also complete to other
expressions (e.g. "(x + y) * 2" or even merely "(x)"). Especially
older Pascal compilers were geared towards the simplic
I was thinking, that I need a way to use IPC (inter process
communication) in all languages, so for example I could compile a plain
C exe, Delphi exe, Rust exe, Nimrod exe, or GoLang exe and communicate
back with fpc (very powerful idea). But simpleIPC is only available for
FPC/lazarus, not oth
On 2017-05-02 18:49, Marc Santhoff wrote:
On Di, 2017-05-02 at 08:33 -0700, fredvs wrote:
Hello.
The best (IMHO) is c2pas32 -->
http://www.astonshell.com/freeware/c2pas32/
Nice program, i fed the adc.c source from STMs fwlib for stm32f4
through
and the generated code looks fine. There is so
On 2017-05-03 04:37, Michael Van Canneyt wrote:
On Wed, 3 May 2017, denisgolovan wrote:
On 2017-05-03 00:53, Marc Santhoff wrote:
Does such grammar exist?
Well, it depends on what you are trying to solve.
If you want to parse Pascal using FPC - that's one way. If you want to
get some king
On 2017-05-02 18:53, Marc Santhoff wrote:
Hi,
for playing around I would need a grammar of Object Pascal. I do not
care for which tool it is written or at best if it is plain EBNF.
Does such grammar exist?
The issue is that there is no object pascal, or in other words, there's
about 5 milli
On 2017-05-07 13:33, Mark Morgan Lloyd wrote:
Has anybody used FPC to talk to a vehicle via the OBD connector?
Can anybody give me a quick summary of the position of FPC on Android
etc.? (Graeme, that includes FPCgui if it's relevant).
We've been caught short by a vehicle problem that appears t
On 2017-04-09 06:32, Ryan Joseph wrote:
On Apr 9, 2017, at 6:13 PM, Maciej Izak wrote:
sure, but not directly. Try this:
Thanks, that’s a seriously funky hack but it works. :) The only
downside is you need to define types every time you need a different
size.
Is this a known feature request
On 2017-03-17 09:57, Reimar Grabowski wrote:
On Thu, 16 Mar 2017 11:14:17 +
Graeme Geldenhuys wrote:
And I am pleasantly surprised! :) That demo worked perfectly on my
system. Sound, animation, graphics all silky smooth. Impressive
indeed.
If running a 3 year old iOS Demo in a browser
On 2017-03-17 19:06, Giuliano Colla wrote:
Il 18/03/2017 00:29, African Wild Dog ha scritto:
Ia there any hash list implementation in free Pascal?
The IniFiles unit (fpc/packages/fcl-base/src/inifiles.pp) provides a
THashedStringList (descendant from TstringList) which I'm using
reliably since
On 2017-03-16 06:14, Graeme Geldenhuys wrote:
On 2017-03-16 10:56, Graeme Geldenhuys wrote:
I’ll be pleasantly surprised if it works - after all, so many browser
features often only work for OSX and Windows, even though the browser
and web is supposed to be “cross-platform”. I’ll report back la
On 2017-04-01 02:39, Sven Barth via fpc-pascal wrote:
Am 01.04.2017 05:42 schrieb "Ryan Joseph"
:
As far as the compiler is concerned what’s the difference between
clearing an array using a for-loop vs. FillChar? It seems like
iterating the array would be slower but what does FillChar do exact
On 2017-03-24 14:42, Gary Doades wrote:
Hi everyone,
Firstly, I realise this is an old subject, but I still can't find any
easy answer.
Really, the question is simple: Is there ANY way of TSQLQuery NOT
reading the entire result set into memory?
What about making multiple queries and setting s
On 2017-03-30 11:29, Jon Foster wrote:
On 03/29/2017 01:15 PM, Michael Van Canneyt wrote:
On Wed, 29 Mar 2017, Dimitrios Chr. Ioannidis via fpc-pascal wrote:
Hi,
On 29/3/2017 9:57 μμ, fredvs wrote:
Hello.
Some developers treat me as dinosaur because I use threads in place
of
doing
para
On 2017-04-12 07:01, fredvs wrote:
Hello.
There is also a free-open-source project : espeak :
http://espeak.sourceforge.net
The licence is GNU General Public License so you may use the executable
like
you want.
The GPL is a restrictive license, so you may not use it like you want..
LGPL wo
On 2017-04-12 05:03, LacaK wrote:
Yes, example should be adjusted. Please report bug to not forget.
Thanks
-Laco.
It is not a bug, I just wanted to clarify the magic going on behind the
scenes - which, is "ownership".
That's all I needed to know.
The key to seeing this trick/magic is in th
On 2017-03-16 08:35, Mattias Gaertner wrote:
On Thu, 16 Mar 2017 14:07:51 +0100 (CET)
"Karoly Balogh (Charlie/SGR)" wrote:
[...]
Also, WebAssembly is a descendant of asm.js,
Maybe historically. Technically asm.js is higher lvl than webassembly.
which was basically striped
down Javascript
On 2017-03-08 05:34, Rafael Angel Campos Vargas wrote:
Annual inform:
I am programming LibreN3D for 3D animations, and some other projects
in FreeDOS and other systems,
but these three past years they really were standing by.
Why DOS..
for nostalgia?
i.e. compared to opengl on a modern Windb
On 2017-02-28 14:48, Jonas Maebe wrote:
On 28/02/17 21:40, nore...@z505.com wrote:
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Yes, just like records that contain e.g. an ansistring field.
Jonas
do records whi
On 2017-02-28 14:50, Graeme Geldenhuys wrote:
On 2017-02-28 20:40, nore...@z505.com wrote:
Sorry, I've been out of touch with what's happening with Records
lately
in modern pascal/delphi/etc.
Don't worry, I'm with you on that one. All I know is that
Borland/CodeGear/EMBT broken TP Objects som
On 2017-03-01 03:06, Graeme Geldenhuys wrote:
On 2017-03-01 02:39, nore...@z505.com wrote:
How come:
class operator Initialize(var aFoo: TFoo);
class operator Finalize(var aFoo: TFoo);
in a record are called class operator..
why not "record operator"?
hahaha... You are asking all the
How come:
class operator Initialize(var aFoo: TFoo);
class operator Finalize(var aFoo: TFoo);
in a record are called class operator..
why not "record operator"?
Are these advanced neo-records considered classes?
Again, sorry I'm new to all this new record stuff (neo records ;-))
If they
On 2017-02-14 08:51, Martin Schreiber wrote:
Hi,
MSEide+MSEgui 4.4 for Free Pascal 3.0.2 has been released:
https://sourceforge.net/projects/mseide-msegui/
There are also new versions of the ARM (Raspberry Pi) cross and native
environments for Free Pascal:
https://sourceforge.net/projects/mseide
On 2017-02-28 05:20, Maciej Izak wrote:
It works correctly in all possible ways with RTL:
* New (Initialize)
* Dispose (Finalize)
What happens with a stack allocated record?
(no new() required, nor dispose() so is the record ever
initialized/finalized?)
Or stack records are forbidden?
One
On 2017-02-28 10:06, Graeme Geldenhuys wrote:
Hi,
Can anybody see if there is something wrong with the code shown below.
The code is copied from one of my earlier projects where I call the FPC
compiler and it worked just fine in that project.
Did you end up resolving the issue?
I'd be intere
On 2017-02-24 15:00, Bernd wrote:
Hello,
Eight years ago someone asked whether there is a parser combinator
library for free pascal, nothing like that existed at that time and
also does not seem to exist up to the present day.
While I was reading about parser combinators in functional programmi
On 2017-02-12 01:33, Tim Veldhuizen wrote:
Indeed, I can confirm Delphi does this. I think since 2009 or XE or
so,
I'm too lazy to check right now, but I think even delphi 5 and such used
paths in the dpr (project) file
Would be interesting to find out the real reason, but once again, I'm
t
I wrote
>
> If you statically link the lgpl code into your EXE, your exe is the module
> under lgpl now. Therefore all code must be released. Statically linked
> lgpl code in an exe is not a dll that can be shipped separately.
Nevermind, I see this has been discussed:
http://free-pascal-general.1
I think all freepascal people have a misunderstanding of LGPL.
If you statically link the lgpl code into your EXE, your exe is the module
under lgpl now. Therefore all code must be released. Statically linked
lgpl code in an exe is not a dll that can be shipped separately.
This means currently al
> On 12/21/2011 20:27, nore...@z505.com wrote:
>>
>> Also delphi is
>> more strict when it comes to PROGRAM name parsing. In freepascal the
>> program name can mismatch the file name, whereas delphi stops compiling
>> and tells you error.
>
> i've never known this (program name must equal filename)
>
> On 17 Dec 2011, at 11:29, Bernd wrote:
>
>> But I am still surprised that inline can be declared in either of the
>> two sections ( I am not complaining, I am actually glad it works for
>> my particular application). Is there any recommended style, is it bad
>> practice to put it into the imple
> two little questions
>
> 1. Is it possible to make an alias to a function ... so rather than just
> re-calling with the same parameters, it's actually the same thing? like
> the way
> we can do, e.g., type natural = cardinal, or const GG = 6, but with a
> function?
>
You can also define procedur
Marcos wrote:
> I use Exceptions to check the integrity of classes. I have one
> Exception for each class (E), most of the time.
Another problem with errors is that sometimes it is hard for a class to
return errors. In procedural programming you can usually return an error
as a parameter but some
> In our previous episode, ik said:
>> But we use exceptions even on places such as StrToInt, when the string
>> is
>> not an integer number, but we can expect to either have a number or
>> something else. So why use an exception there ?
>
> Because much used routines like strtoint are often used w
1 - 100 of 117 matches
Mail list logo