Just for comparison, I fired up Think Pascal and made Hello world!
Plain Hello world, closes so quickly that you don't have time to see it:
4625 bytes.
Including ShowText and while not Button do; 4639 bytes.
Yes, less than 5k! Progress?
/Ingemar
Den 2022-08-01 kl. 09:40, skrev fpc-pascal-requ...@lists.freepascal.org:
Date: Sun, 31 Jul 2022 09:05:56 -0400
From: Anthony Walter
Michael, it's the same logic behind my now 12 year old Bare game system
that did the exact same thing. I am creating a small lPascal ibrary that
removes a lot
2019-07-19 kl. 12:00, "Mgr. Janusz Chmiel" wrote:
To: fpc-pascal@lists.freepascal.org
Subject: [fpc-pascal] I need some working Pascal examples for android
Message-ID:
Content-Type: text/plain; charset=UTF-8; format=flowed
Please, does somebody of us know about some functioning examples
You mean something faster than a for-loop? Like a hash table?
I don't know of any hash table in the standard library but there are
some in the class library:
https://www.freepascal.org/docs-html/fcl/contnrs/tfpstringhashtable.html
Any work on OpenGL is of interest to me. I am working with it every day,
have written two course books, a GLUT replacement and numerous demos,
most in C though (because my students don't learn Pascal any more).
Two things come to mind:
Yet another API for GUI-OpenGL glue? I would suggest
On Sun, 20 May 2018, Sven Barth via fpc-pascal wrote:
I'm pleased to announce that after nearly a year various extensions for
dynamic arrays have been finished. This includes the following features:
- support for array constructors using "[...]" syntax
- support for Insert(), Delete() and
Den 2018-05-05 kl. 12:00, skrev Mr Bee :
Hi,
Is there a way to make LLDB able to read and display Pascal's string correctly?
At least, ansi string. I'm now using this option '-glpsw3 -godwarfcpp'. Did I
miss some options or something?
Thank you.
In my experience,
Den 2018-05-01 kl. 09:50, Ryan Joseph wrote:
On Apr 25, 2018, at 9:43 PM, Michael Van Canneyt wrote:
Ah, webgl...
I had a look at this some time ago, and got depressed. Quickly closed the
browser and didn't look back. Same for webaudio:(
Michael Van Canneyt wrote:
Hello,
Now that interface support has been added to the list of implemented language
features of pas2js, we're looking to get feedback on what best to tackle next.
This time, the poll is not on the forum, so you do not need to have an
account
Den 2018-03-30 kl. 05:54, Mr Bee wrote:
Hi,
These days, most modern programming languages have its own logo. The logo becomes a
"brand", a unique visual identity for the language. It also acts as a
"trademark", a recognizable image for the language. It also helps the
Den 2018-01-08 kl. 08:49, skrev Sandro Cumerlato:
I've done it, let's call it "santa3", it's amazing!:-) [you've made my
day]
For the last point: yes!
Sandro
Great! It works just fine! Very neat and tight fix too! And in time
before Christmas is *really* over. At least we have snow on
Thanks! The limitations in the sound playing are straight from
JavaScript's Audio API. I think I know how to loop a sound, although the
online advice are pretty confusing. For playing a sound multiple times,
it seems I need to load it multiple times! Not very elegant but it can
be done.
ome server.
For being a preliminary "0." version, pas2js works wonderfully well!
/Ingemar
Den 2017-12-24 kl. 12:00, skrev Ingemar Ragnemalm:
Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt:
On Wed, 20 Dec 2017, Reimar Grabowski wrote:
On Wed, 20 Dec 2017 15:14:50 +0100
In
Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt:
On Wed, 20 Dec 2017, Reimar Grabowski wrote:
On Wed, 20 Dec 2017 15:14:50 +0100
Ingemar Ragnemalm<inge...@ragnemalm.se> wrote:
Although I would like to make some improvements - who doesn't? To be
precise, I want to figure out
Den 2017-12-20 kl. 13:09, skrev Mattias Gaertner:
On Wed, 20 Dec 2017 12:29:25 +0100
Ingemar Ragnemalm<inge...@ragnemalm.se> wrote:
And then I got some of the provided demos running too and
managed to write one of my own. So it looks good!
Here is an early result, expressing my fe
This is great news, something that I have been longing for for years!
There have been some related efforts but none that really solved my
problem. Best Christmas present this year!
After some initial fiddling, I realized that there was a misspelling in
the wiki, and Hello World worked once
A bit of news which I think has some interest here:
"Kattis" (open.kattis.com) is a site where students can make programming
exercises. This is quite important IMHO; companies look at Kattis
results when recruiting.
Recently, Kattis added Pascal support, using FPC 3.0.0! (Free Pascal
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
Den 2017-05-30 kl. 12:00, skrev Marco van de Voort:
For the 2Ders, in old GL I used glortho2d a lot. In newer ones I missed that,
but I found
an equivalent on stackoverflow:
My FPC vector unit has overloading and many other functions
(determinant, rotation around arbitrary axis...). Some
Ryan Joseph wrote:
I’m trying to following some OpenGL tutorials to learn the matrix transforms
but I’m getting stuck because I don’t have the c++ GLM library which everyone
is using. I see FPC has a matrix class but it doesn’t include all the helpers
in GLM like rotation, transform,
I am trying to debug an FPC program that uses dynamic arrays. (Don't
them all?) It seems to me as if LLDB can not handle them. I get this error:
A1 is a dynamic array of Integers (SmallInt).
(lldb) p A1
(ARR1) $7 = 0x000b5048
(lldb) p *A1
error: incomplete type 'SMALLINT []' where a complete
Message: 1
Date: Sat, 2 Apr 2016 03:39:41 -0700 (MST)
From: leledumbo
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Write Applet with FPC JVM
Message-ID: <1459593581645-5724733.p...@n5.nabble.com>
Content-Type: text/plain; charset=us-ascii
It
Hello, FPC list!
Is there anyone who knows how to write a JVM applet with FPC?
I have this minimal Java applet:
import java.applet.*;
import java.awt.*;
public class HelloWorldApplet extends Applet
{
public void paint (Graphics g)
{
g.drawString ("Hello World", 25, 50);
Maciej Izak wrote:
Well, yes, it works fine, but you still need a Java part otherwise a
lot of APIs cannot be accessed. In particular APIs that require
creating interfaces.
I can confirm too :)
But for completeness, surely you do NOT have to write the Java (JVM)
parts in Java, but you can
On 21/08/14 07:41, Jerry wrote:
I have a lot of old Pascal that I am getting interested in reviving. It was
originally written in Lightspeed/THINK Pascal (did I mention it is old?) and
around 2000-2002 I converted it to Codewarrior Pascal. These are both Macintosh
dialects.
What are the
From: Marcos Douglas m...@delfire.net
Subject: Re: [fpc-pascal] Overloading the increment operator (+=)
To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Message-ID:
CA+ixmeZZ9r2EiUzqJ-F2=htugyunkywhy_729jfyuofqyii...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8
Jeppe Johansen jepj...@es.aau.dk wrote:
Den 19-03-2011 08:30, Aleksa Todorovic skrev:
2) The parameter into the function is a pointer *A of type double. To
me that indicates a value of some kind, but in the code it suddenly
seems to appear as an array with indexing. What would be the proper
Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote:
Marco van de Voort wrote:
In our previous episode, Ben said:
What is the programming language used in and with the Free Pascal Compiler?
* Object Pascal
* Delphi
* Free Pascal
* Pascal
Pretty much all apply. Free
faber bor...@gmail.com wrote:
Hi,
according to docs/reference sin function should print 0.0 when
Writeln (Sin(Pi):0:1);
but, with fpc 2.4.0 and 2.4.2 (x86) I've get -0.0, such a result is
not entirely correct.
This is a bug (in sin func.) or something wrong with the formatting ?
best regards
dmitry boyarintsev skalogryz.li...@gmail.com wrote:
On Mon, Jun 14, 2010 at 5:37 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
Has anybody managed to play sound files under both Linux and Windows?
Does FPC have a cross-platform API or FCL class for this?
I'd offer using OpenAL,
spir denis.s...@gmail.com wrote:
I'm surprised of this, fpc still systematically trying to follow
Delphi, after so many years. I can understand that at the beginning
the fpc team needed to mostly comply with Delphi, as de facto object
pascal standard. But then, fpc could live its own life,
Mattias Gaertner nc-gaert...@netcologne.de wrote:
Rainer Stratmann rainerstratm...@t-online.de wrote:
Has someone experience with creating png bitmap files?
Is it easy or complicated?
I programmed a web server and wanted to serve diagrams also.
Something like this:
Hans-Peter Suter gcha...@gmail.com wrote:
I'm on a mac and use TextMate currently. As it doesn't jump between
declaration and implementation and ist mac-only, I am looking for a
replacement.
Is Emacs a good choice? Does it work well with FPC?
I don't quite understand the question.
Why is
I have tried Dmitry's OpenCL interfaces, and they work just fine. I use it on a
Mac using Lightweight IDE, and making OpenCL work through it using C or FPC is
trivial; it just works. I don't know how hard it is to use it from Lazarus
(which I can't run for unknown reasons) but it can't be very
Vinzent H?fler jellyfish.softw...@gmx.net wrote:
Graeme Geldenhuys graemeg.li...@gmail.com:
Any programmer worth hiring should find it relatively easy to switch
to another language. Or and least become proficient in it in a
relative short period of time. The basic principles apply to all
Lee Jenkins l...@datatrakpos.com wrote:
I don't agree with the idea that BEGIN...END determines the failure
of Pascal, as syntax completion is for that. Both BEGIN...END and
{...} are finished in the same time if they were done by computer.
On the contrary, it is part of the way of Pascal
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 31 Dec 2008, at 17:04, Giulio Bernardi wrote:
Joost van der Sluis ha scritto:
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César
Espinoza:
Error: Assembler as not found, switching to external assembling
Skybuck Flying [EMAIL PROTECTED] wrote:
Hello,
An open source pascal operating system could be cool.
Would translating/porting linux to pascal be possible ?
Absolutely. Most of Unix is plain C, which translates well to Pascal.
C++ is harder, of course.
Gerard N/A [EMAIL PROTECTED]
Leonardo M. Ram? [EMAIL PROTECTED] wrote:
--- On Fri, 12/5/08, Guillermo Martínez Jiménez [EMAIL PROTECTED] wrote:
By the way, Linux is good as it is now and Pascal isn't the best
option to create an operating system.
Are you sure? doesn't older MacOS's versions where written in
Guillermo Mart?nez Jim?nez [EMAIL PROTECTED] wrote:
I disagree. C is better for write operating systems *by definition*:
C was created to write UNIX, Pascal was created to learn good
programming techniques. C is low/mid-level language, Pascal is
high-level (and Object Pascal is even
Message: 1
Date: Sat, 11 Oct 2008 17:09:10 +0200
From: Lukas Gradl [EMAIL PROTECTED]
Subject: [fpc-pascal] OT: Buy a Mac to develop for MacOS? Which one?
To: FPC-Pascal Mailinglist fpc-pascal@lists.freepascal.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-15;
Jon [EMAIL PROTECTED] wrote:
Thank you for your replies Jonas
if you're coming from Win32 programming, you may want to read this:
http://developer.apple.com/documentation/Porting/Conceptual/win32porting/win32porting.html
Interesting document. Do I have to install Interface Builder
Tom Verhoeff [EMAIL PROTECTED] wrote:
For Pascal, you can also consider LWP (Light-Weight Pascal) at
http://www.pascal-central.com/lwp/lightweight.html
Thanks! The link to the real home page is, however:
http://www.ragnemalm.se/lightweight
Richard Ward [EMAIL PROTECTED] wrote:
Just want
Michael Van Canneyt [EMAIL PROTECTED] wrote:
Hello,
After a month (a bit more) of writing the above post, I finally
released it in my blog:
http://idkn.wordpress.com/2008/04/06/why-im-choosing-object-pascal/
Just one remark:
Have a look at http://www.morfik.com/ - a great way
[EMAIL PROTECTED] wrote:
Damien Gerard wrote:
On Jan 15, 2008, at 11:54 AM, Ezequiel Tacsir wrote:
I was used to wok with freepascal on windows. Now, I have switch to
mac (10.5) and would like to know what are the things that I need to
have it running. If anybody can send me a basic
On Jan 5, 2008, at 11:11 AM, Florian Klaempfl wrote:
Marco Ciampa schrieb:
I work in a high school in Italy.
We are currently using fpc + gnuplot for math and phisics
simulations.
In one lab we are currently starting to use Linux as the _sole_
platform.
On Wed, Jan 02, 2008 at
Edward Kearns wrote:
First of all, note that LWP 0.2.9's demo is TransSkel.p, not
NewSkel.p, as in the Lightweight Pascal IDE notes.
Yes, that was my fault. I only included the newest demos, but NewSkel.p
should have been included all the same, since it is the example demo.
TransSkel is
Edward Kearns wrote:
Because of all the help I got, especially from Jonas Maebe, I
successfully opened and ran successfully in LIghtweight IDE the
Pascal program I had developed over several years in Think Pascal.
NOW I can modify it, as I had desired.
That's great! What was the
Jonas Maebe wrote:
If you want something more akin to Think Pascal, you may want to try
LWP, which is available here:
http://sourceforge.net/projects/lightweight-ide
Thanks, Jonas! I think that is what Edward needs. BTW, the latest
version is at
http://www.ragnemalm.se/lightweight
It
Felipe Monteiro de Carvalho wrote:
On 6/15/07, memsom [EMAIL PROTECTED] wrote:
Apaprently Troll Tech is unhappy as they use Carbon in their Qt port for
Mac OS X...
Everyone is unhappy. Office, Photoshop, Adobe products, Firefox,
wxWidgets, etc, are all based on Carbon.
Actually to me
Hello, Pascal folks,
I'm using FPC 2.0.4 on MacOSX 1.4.9 PPC and trying to write a Pascal library
that is externally called from REALbasic (Rb). But Rb needs Carbon.h header
included in dylibs which are called by Rb programs.
In C, it's easy:
#include Carbon/Carbon.h
Unfortunately, I am
Sorry for not replying in thread, I get the list as digest so I can't
reply properly.
The problem with FPC is that I
can't find any straightforward way to either get PFile-style
stdin/stdout from the Text-style input/output (surely there is a
connection?)
Yes. PFile _IS_ Text style.
Dear list,
I have been struggling for quite a while (that is weeks) to get proper
pipe communication with a sublaunched program, using TProcess or
straight pipe/fork/exec calls. This is under Mac OSX, but the problem
should be similar under any Unix.
The problem is the buffering. Using
53 matches
Mail list logo