[MSEide-MSEgui-talk] Android & iOS

2017-07-09 Thread Marcos Douglas B. Santos
Hi, Direct to the subject: Can I create Apps for Android and iOS using MSEgui nowadays? I saw Martin's comment https://forum.lazarus.freepascal.org/index.php/topic,31996.msg205787.html?PHPSESSID=f3n3hkv8am2kh2ohvugg1v3p00#msg205787 and looks MSE isn't prepared yet. I've seen frameworks like

Re: [MSEide-MSEgui-talk] Android & iOS

2017-07-10 Thread Marcos Douglas B. Santos
On Mon, Jul 10, 2017 at 1:34 AM, Martin Schreiber wrote: > The situation has not changed. I don't need it myself and there is no sponsor. > iOS is a closed environment, Apple tries with big effort and good results to > lock out aliens. I don't know if Android is better in this

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-09 Thread Marcos Douglas B. Santos
On Tue, May 9, 2017 at 10:52 AM, Martin Schreiber <mse00...@gmail.com> wrote: > On Tuesday 09 May 2017 15:26:24 Marcos Douglas B. Santos wrote: >> >> It is not about if these languages are better, but if they are easy to >> do the work. >> > Thats the

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-09 Thread Marcos Douglas B. Santos
On Tue, May 9, 2017 at 3:24 AM, Martin Schreiber <mse00...@gmail.com> wrote: > On Monday 08 May 2017 22:44:39 Marcos Douglas B. Santos wrote: >> On Mon, May 8, 2017 at 4:05 PM, Sieghard <s_c_...@arcor.de> wrote: >> > Hallo Marcos, >> > >> >

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-09 Thread Marcos Douglas B. Santos
On Tue, May 9, 2017 at 10:00 AM, Martin Schreiber <mse00...@gmail.com> wrote: > On Tuesday 09 May 2017 14:08:39 Marcos Douglas B. Santos wrote: >> >> I understand your point of view but I think this could be confusing... >> Well, first of all we should understand the

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-06-10 Thread Marcos Douglas B. Santos
On Sat, Jun 10, 2017 at 1:54 AM, Martin Schreiber wrote: > > I don't like "sub" much but found nothing better up to now. I think that > object methods deserve an own token "method" because of the implicit "self" > parameter. Comming from a Pascal background "procedure" implies

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-06-11 Thread Marcos Douglas B. Santos
On Sun, Jun 11, 2017 at 4:58 PM, Edson H wrote: > No so much, but In Pascal you need to do: > > > if ... then > begin //WARNING: If use more than a sentence, you need BEGIN-END > ... > end //DANGER: Don't put semicolon! > else if ... then > begin

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-06-11 Thread Marcos Douglas B. Santos
On Sun, Jun 11, 2017 at 1:29 AM, Martin Schreiber wrote: >> You need to have a return. If you have a object with a method "exec", >> eg, why not return the object itself? Just return something. > > Why? Because you could write a more elegant code. If you return "self" even in

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-06-11 Thread Marcos Douglas B. Santos
On Sun, Jun 11, 2017 at 12:31 PM, Edson H wrote: > > Instead of? > > if ... then > ... > elsif ... then > ... > elsif ... then > ... > else > ... > end; > > > Don't see this like nested IF. It's just a multiple conditional. More at the > style of Modula-2 and the

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-07 Thread Marcos Douglas B. Santos
On Sat, May 6, 2017 at 11:33 AM, Martin Schreiber wrote: >> Use only objects and change this syntax... >> o1: ^obj5ty; >> ...to this one >> o1: obj5ty; >> > Correct. Plus o1^.f1 <-> c1.f1 for access of heap instance elements and > that "class" instances always are on heap. >

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-07 Thread Marcos Douglas B. Santos
On Sun, May 7, 2017 at 1:14 PM, Martin Schreiber wrote: >> Classes should not exists in object-oriented programming. This is a >> mistake. Only objects should exists. > > In MSElang "class" = "^object" on heap. So you mean there should be no object > heap pointers but stack

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-07 Thread Marcos Douglas B. Santos
On Sun, May 7, 2017 at 7:05 AM, Graeme Geldenhuys wrote: >> MSElang and MSEpas (a subset of Free Pascal) have "string8" (utf-8) >> "string16" >> (utf-16) "string32" (ucs-4) > > That sounds good. Why? Is not it better to just use a single String type (as a class or

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-07 Thread Marcos Douglas B. Santos
On Sun, May 7, 2017 at 4:15 PM, Martin Schreiber <mse00...@gmail.com> wrote: > On Sunday 07 May 2017 18:48:13 Marcos Douglas B. Santos wrote: >> On Sun, May 7, 2017 at 1:14 PM, Martin Schreiber <mse00...@gmail.com> wrote: >> >> Classes should not exis

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-08 Thread Marcos Douglas B. Santos
On Mon, May 8, 2017 at 12:40 PM, Martin Schreiber wrote: > [...] > > No. Call it "manually": > " > obj1.create(); > obj1.destroy(); > " > or use "ini", "fini" methods: > " > objty = object > method theinimethod() [ini]; //called after object initialization > method

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-08 Thread Marcos Douglas B. Santos
On Mon, May 8, 2017 at 10:06 AM, Martin Schreiber <mse00...@gmail.com> wrote: > On Monday 08 May 2017 14:11:28 Marcos Douglas B. Santos wrote: >> On Mon, May 8, 2017 at 2:39 AM, Martin Schreiber <mse00...@gmail.com> wrote: >> >> > One does not need to use &

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-08 Thread Marcos Douglas B. Santos
On Mon, May 8, 2017 at 4:05 PM, Sieghard wrote: > Hallo Marcos, > > Du schriebst am Mon, 8 May 2017 13:12:19 -0300: > >> >> 2. In this case: >> >> obj2: ^objty; //on heap >> >> >> >> Is it possible to remove the "^"? >> >> obj2.f1:= 123; >> >> >> > No, obj2 is a pointer. >> >

Re: [MSEide-MSEgui-talk] MSElang Objects

2017-05-06 Thread Marcos Douglas B. Santos
On Sat, May 6, 2017 at 6:20 AM, Martin Schreiber wrote: > Hi, > I implemented objects and classes in MSElang: > https://gitlab.com/mseide-msegui/mselang/wikis/home/Mselang_objects > > Thoughts? In wiki home you wrote: "records, objects and classes could be unified in a single

Re: [MSEide-MSEgui-talk] fpc and memory leak.

2018-07-31 Thread Marcos Douglas B. Santos
On Tue, Jul 31, 2018 at 12:48 PM, fredvs wrote: > Hello. > > Referencing to this: > http://lists.freepascal.org/pipermail/fpc-devel/2018-July/039369.html > > So, if I understand ok, after few compiling, we have to reboot the system > because fpc has eaten lot of memory because of their memory

Re: [MSEide-MSEgui-talk] fpc and memory leak.

2018-07-31 Thread Marcos Douglas B. Santos
On Tue, Jul 31, 2018 at 2:14 PM, Martin Schreiber wrote: > On 07/31/2018 06:25 PM, fredvs wrote: >> Thanks Marcos. >> >>> When the process finish, the OS clean all memory that belongs it. >> >> Sorry, I do not understand. >> Do you mean that the OS clean all memory leak after fpc is closed? > >

Re: [MSEide-MSEgui-talk] fpc and memory leak.

2018-07-31 Thread Marcos Douglas B. Santos
On Tue, Jul 31, 2018 at 7:42 PM, fredvs wrote: > @ Marcos and Douglas: thanks for your light. > >> However, if your application is just a console app that do the job and >> dies, as FPC, then it will be the same. > > Huh, AFAIK MSE and fpGUI apps are console apps too ? Yes, but AFAIK these apps

Re: [MSEide-MSEgui-talk] Useless searches all over the Internet

2018-07-07 Thread Marcos Douglas B. Santos
On Sat, Jul 7, 2018 at 8:34 PM, Graeme Geldenhuys wrote: > On 07/06/18 10:03, Martin Schreiber wrote: >> > I too make the experience that searches in >> individual sites are mostly useless. > > After I discovered that Google had a 3GByte zip file of data on me (no > videos, but 200 or so photos -

Re: [MSEide-MSEgui-talk] Destiny of Martin's projects

2019-02-05 Thread Marcos Douglas B. Santos
On Tue, Feb 5, 2019 at 2:37 PM Noel Frankinet wrote: > > When a C++ program is slower than its counterpart in Java, its always because > the C++ implementation is weak. > Java cannot be faster than machine code and a good C++ implementation must be > equivalent to machine code. And I would say