[fpc-pascal] Writing fpWeb app without Lazarus

2016-06-05 Thread Mr Bee
using a Linux Ubuntu 14.04 machine with Apache web server. I believe the problem has nothing to do with the OS nor the web server because my plain Pascal CGI (without using fpWeb) is running just fine. Any hints to solve the problem is really appreciated. Thank you. Regards, –Mr Bee

[fpc-pascal] Bls: Writing fpWeb app without Lazarus

2016-06-08 Thread Mr Bee
Documentation is the main and first obstacle for everyone who like to use FCL to its potential. I wish I could help. Thank you for the reply, Michael.  Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Bls: Bls: Writing fpWeb app without Lazarus

2016-06-08 Thread Mr Bee
> See web1, web2. I'll save the link. This is a treasure. Thank you. Regards, -Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Bls: Bls: Bls: Quick Modern Object Pascal Introduction, for Programmers

2016-06-21 Thread Mr Bee
.3.2 would be appropriate enough. Besides, what's the release notes for? right? :)  –Mr Bee Pada Selasa, 21 Juni 2016 16:30, Sven Barth <pascaldra...@googlemail.com> menulis: Am 21.06.2016 08:58 schrieb "Mr Bee" <pak.le...@yahoo.com>: > > > Maybe a

[fpc-pascal] Bls: Quick Modern Object Pascal Introduction, for Programmers

2016-06-20 Thread Mr Bee
in Pascal. The {$J-} means constant is a constant no matter how you declare it. Too bad FPC is still using {$J+} as the default even in the {$MODE OBJFPC}, which means a constant becomes a variable once you include the data type eventhough it's declared within a 'const' block. CMIIW. Regards, –Mr

[fpc-pascal] Bls: Bls: Quick Modern Object Pascal Introduction, for Programmers

2016-06-21 Thread Mr Bee
> I definitely *do not want* to explain to any new programmer what a "writeable >constant" is... This concept should remain buried :) Exactly! I also don't >understand why the {$MODE OBJFPC} uses the {$J+} as the default. :) –Mr Bee Pada Selasa, 21 Juni 2016 12:47,

[fpc-pascal] Bls: Bls: Quick Modern Object Pascal Introduction, for Programmers

2016-06-21 Thread Mr Bee
ot;? It's contradictio in terminis. :) If somehow someone want to deals with those things, let them use the appropriate directives explicitly. But for most programs we build today, those things should be the default. –Mr Bee Pada Selasa, 21 Juni 2016 13:15, Marc Hanisch <marc.hani...

[fpc-pascal] FreePascal and Lazarus Foundation

2016-06-27 Thread Mr Bee
the best programming language, compiler and IDE for the world. :) Of course, there are still many things need to be fixed and enhanced on both projects. This foundation would be the first step forward. For this foundation, I'd like to say congratulation and good luck. Regards, –Mr Bee

[fpc-pascal] Bls: Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Mr Bee
s should give us the "rule" or policy about what kind of change that is acceptable and not acceptable. So when we think of something new we could look at the rule and if it's doesn't comply then we don't need to bother to propose. Regards, –Mr Bee ___

[fpc-pascal] Bls: Bls: Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-25 Thread Mr Bee
So, which Delphi that FPC keep the compatibility with? The old Delphi or the new Delphi? How old is old? How new is new?  –Mr Bee Pada Kamis, 25 Februari 2016 14:05, Sven Barth <pascaldra...@googlemail.com> menulis: Am 25.02.2016 02:00 schrieb "Mr Bee" <pak.le...@

[fpc-pascal] {$J} default setting for today

2016-02-20 Thread Mr Bee
at a constant should be. The old behavior is a flaw. At least let {$J-} be the default for {$MODE DELPHI} and {$MODE OBJFPC}. What do you think? –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Bls: Quick Modern Object Pascal Introduction, for Programmers

2016-06-19 Thread Mr Bee
in Pascal. The {$J-} means constant is a constant no matter how you declare it. To bad FPC is still using {$J+} as the default even in the {$MODE OBJFPC}, which means a constant becomes a variable once you include the data type eventhough it's declared within a 'const' block. CMIIW. Regards, –Mr

[fpc-pascal] Bls: Changes to fpWeb...

2017-01-17 Thread Mr Bee
This is really a great news. Thank you, Michael and all other contributors for the great work.  It would only need more complete documentation with adequate demo and code samples. Regards,  –Mr Bee Pada Sabtu, 14 Januari 2017 5:36, Michael Van Canneyt <mich...@freepascal.org> m

[fpc-pascal] FPC clean room project

2017-01-01 Thread Mr Bee
to debunk the allegation but I don't know where to start and the evidence for it. Thank you. Regards,  –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Bls: TProcess failed running Swift compiler

2017-01-09 Thread Mr Bee
I found the answer myself. It seems that I need to supply the full path to the swift REPL executable. I don't understand why it requires it for swift because it could call python executable just fine without using full path. Anyway, problem solved. :)  –Mr Bee Pada Senin, 9 Januari 2017

[fpc-pascal] TProcess failed running Swift compiler

2017-01-08 Thread Mr Bee
called by the REPL is just a simple hello world program, nothing fancy. Can anyone here enlighten me what did I do wrong in the code above? I'm on FPC v.3.0, Linux Ubuntu 14.04, and Swift v.3.0. Thank you. Regards,  –Mr Bee ___ fpc-pascal maillist -

[fpc-pascal] Bls: Changes to fpWeb...

2017-01-14 Thread Mr Bee
Will this new fpWeb be included in the next FPC release? v.3.2? v.3.0.2? Thank you.  –Mr Bee Pada Sabtu, 14 Januari 2017 5:36, Michael Van Canneyt <mich...@freepascal.org> menulis: Hello, I have committed a serious change to the way fpweb handles requests. Especially r

[fpc-pascal] parameter list declaration

2017-03-31 Thread Mr Bee via fpc-pascal
be referred in an article or book. Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Bls: WebAssembly Target

2017-04-12 Thread Mr Bee via fpc-pascal
spector will be used to create event handlers and whatnot in Pascal… But this is all still under heavy development. Seriously? Where can we try or test this? This is really a great news! It reminds me of Morfik. :) Hope the development will continue. Regards, –Mr Bee __

[fpc-pascal] Bls: Bls: WebAssembly Target

2017-04-13 Thread Mr Bee via fpc-pascal
't wait to test it. :) Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] named parameter

2017-05-27 Thread Mr Bee via fpc-pascal
); I believe it would raise Pascal's code readability. I know it has been discussed before. I know somehow the parser had been able to read such syntax. So, why don't we have the option to enable it for people who want it? Kinda a syntax switch mode. What do you think? :) -- Regards, –Mr Bee

[fpc-pascal] Bls: named parameter

2017-05-30 Thread Mr Bee via fpc-pascal
want this feature. Thank you. Regards, –Mr Bee Pada Sabtu, 27 Mei 2017 21:18, Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> menulis: 2017-05-27 16:12 GMT+02:00 Michael Van Canneyt <mich...@freepascal.org>: > > > On Sat, 27 May 2017, Sven Barth

[fpc-pascal] compiler option for $J directive

2017-10-07 Thread Mr Bee via fpc-pascal
that calls fpc with all the required compiler settings for all my programs. Unfortunately, I haven't found compiler option for this directive. Any help is appreciated. Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] JavaScript versions of pascal RTL functions (FormatFloat, DateToStr etc)

2017-10-14 Thread Mr Bee via fpc-pascal
B > units. If you want, I can send you the Javascript versions of these files > now. > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal -- Regards, –Mr Bee __

Re: [fpc-pascal] JavaScript versions of pascal RTL functions (FormatFloat, DateToStr etc)

2017-10-15 Thread Mr Bee via fpc-pascal
k with the visual > components, and it starts to look really good. Thank you, Michael. But I think there are some units missing. CMIIW. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] CRT unit and Windows' terminal

2017-10-15 Thread Mr Bee via fpc-pascal
at all on Windows, but it works with unicode on Mac/Linux. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] CRT unit and Windows' terminal

2017-10-16 Thread Mr Bee via fpc-pascal
eing used by CRT unit on Mac and Linux. Perhaps because CRT unit both on Mac and Linux had supported unicode since the beginning? CMIIW. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] CRT unit and Windows' terminal

2017-10-14 Thread Mr Bee via fpc-pascal
, you know… a normal string. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
Thank you, both to Leledumbo and Sven. Will this patch be available in the next FPC v.3.0.4 release? –Mr Bee Pada Selasa, 10 Oktober 2017 04.44.44 WIB, Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> menulis: Am 08.10.2017 22:24 schrieb "leledumbo via fpc-pa

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
for many purposes and conditions such as build release, build debug, build test, build deploy, etc. which each has different compiler setting with custom before/after action. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://li

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
2017-10-10 13:28 GMT+07:00 Marco van de Voort <mar...@stack.nl>: > > Since it is already largely uploaded, no. We are only waiting on some > targets. > I thought such a minor fix that don't break any codes could be included. --

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
de for the next major release? -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] CRT unit and Windows' terminal

2017-10-12 Thread Mr Bee via fpc-pascal
and how to solve the problem? Thank you. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] working with lldb

2018-05-05 Thread Mr Bee via fpc-pascal
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. Regards, –Mr Bee ___ fpc-pascal maillist

Re: [fpc-pascal] working with lldb

2018-05-05 Thread Mr Bee via fpc-pascal
Nothing fancy actually. I just want to watch some string variables while debugging, but LLDB just gives me like some kind of array with garbage values. Not useful at all. I'm using FPC v.3.0.2 with VS Code and LLDB (as VS Code plugin) on Mac. –Mr Bee Pada Sabtu, 5 Mei 2018 17.25.58 WIB

[fpc-pascal] -gw3 produces garbages

2018-05-25 Thread Mr Bee via fpc-pascal
using fpc 3.0.2 with lldb 360.1.70 on macos 10.11.6 (el-capitan). Thank you. –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-04-05 Thread Mr Bee via fpc-pascal
le fruit logo represents a company that produces computers and smartphones with no apple fruits involved whatsoever. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-04-02 Thread Mr Bee via fpc-pascal
a software using Pascal and they look at me like I'm a dinosaur. Some of them even asking me, "how do you make a web app using Turbo Pascal?" :D In fact, I'm currently designing of another Pascal logo that's more abstract, simpler, friendlier, and more colorful. It's still based

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-04-02 Thread Mr Bee via fpc-pascal
aillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Proposal for new Free Pascal logo

2018-03-29 Thread Mr Bee via fpc-pascal
pretty old today. I also think the Lazarus' logo can be made better, but that's another discussion for another time. What do you think? Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-03-31 Thread Mr Bee via fpc-pascal
al, the FPC/Lazarus (or Delphi), they were amazed at how modern Pascal is! -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-03-31 Thread Mr Bee via fpc-pascal
2018-03-30 15:21 GMT+07:00 Michael Van Canneyt <mich...@freepascal.org>: > > I would get rid of the whiskers. > > What's wrong with the whiskers?  -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] Proposal for new Free Pascal logo

2018-04-04 Thread Mr Bee via fpc-pascal
e project in general. This new logo proposal means nothing without core devs' approval. I'm just a happy user and big supporter of FPC who haven't contribute anything useful to the project. -- Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@l

[fpc-pascal] TJSCanvasRenderingContext2D's ellipse method is missing

2018-10-15 Thread Mr Bee via fpc-pascal
Hi, I'm now using pas2js v1.0.2 but I can't find `ellipse` method in TJSCanvasRenderingContext2D class. Is there a way to draw ellipse on a canvas using this version of pas2js? Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] TJSCanvasRenderingContext2D's ellipse method is missing

2018-10-15 Thread Mr Bee via fpc-pascal
This mail should be sent to pas2js list. Please ignore it. My mistake, I didn't re-check the address. I apologize. Thank you. Regards, –Mr Bee Pada Senin, 15 Oktober 2018 21.37.06 WIB, Mr Bee via fpc-pascal menulis: Hi, I'm now using pas2js v1.0.2 but I can't find `ellipse` method

[fpc-pascal] How to get ANSI code command return value?

2018-12-01 Thread Mr Bee via fpc-pascal
want to avoid CRT unit as much as possible. I prefer raw pascal solution.– The solution works across platforms, at least on Mac, Linux, and Windows. Is it possible using standard Pascal routines? Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] How to get ANSI code command return value?

2018-12-02 Thread Mr Bee via fpc-pascal
as explained here: https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC-based http/s server

2018-12-10 Thread Mr Bee via fpc-pascal
standard units such as fpHTTP* and fpWeb* units. Google only gave me some old (back to early 2000) and abandoned projects written in Delphi mixed with inline assembler and Windows' API, also don't support HTTPS. Thank you. Regards, –Mr Bee ___ fpc-pascal

[fpc-pascal] Custom operator

2020-02-01 Thread Mr Bee via fpc-pascal
? Thank you. Regards, –Mr Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Custom operator

2020-02-01 Thread Mr Bee via fpc-pascal
, it’s all right then. Thank you. –Mr Bee Pada Minggu, 2 Februari 2020 08.32.23 WIB, Sven Barth via fpc-pascal menulis: Mr Bee via fpc-pascal schrieb am So., 2. Feb. 2020, 02:11: Hi all, Besides overloading available operators, could we make our own custom operator(s) in FPC

[fpc-pascal] $modeswitch from command line

2020-02-03 Thread Mr Bee via fpc-pascal
Hi all, Is there a way to enable a mode switches from fpc command line? Thank you. Regards, ~Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] $modeswitch from command line

2020-02-04 Thread Mr Bee via fpc-pascal
that using the feature. I prefer to put it in a config file or call it from command line, as default setting, so my code is cleaner from such things. Is it possible? Thank you. Regards, –Mr Bee Pada Selasa, 4 Februari 2020 13.42.10 WIB, Sven Barth via fpc-pascal menulis: Am

Re: [fpc-pascal] $modeswitch from command line

2020-02-05 Thread Mr Bee via fpc-pascal
stick to ObjFPC mode for all the code, no exception. But I want to use advanced record feature as well. By setting the language mode and language features in the global config, I don’t need to write them in every single file. –Mr Bee _¹ A Alphabetical listing of command line options