... but problems can happen eg:
You can add a new unit, maybe a 3rd-party, called A3rdFunc.pas that
have the same function (GetHandler) what you already use in another
unit called MyFunc.pas.
Someday you will add the A3rdFunc unit on 'uses' -- AFTER the MyFunc
-- and no
On Tue, Oct 29, 2013 at 12:55 PM, Reimar Grabowski wrote:
> On Tue, 29 Oct 2013 13:22:47 -0200
> Marcos Douglas wrote:
>
>> Do you (all) use prefix in Procedures and/or Functions too? ;-)
> Nope, we use classes and methods instead of global procedures and functions.
[offtopic]
Another type of conflict happens -- but no one talks about it -- using
procedure/function with the same parameters in different units.
Eg: GetHandler(); If you use two units that have a GetHandler
function, in a third unit, you have a trouble.
Do you (all) use prefix in Procedures and/or Functions too? ;-)
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ic: I personally find it horrible to call a unit "classes" (it's
> fine for RTL, since it's started this way, but any other library - it is
> horrible). Nobody calls their units like "functions" or
> "functionsandprodures" (t
even lines of code should be able to say which namespace
> they are referring too.
+1
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
; prefix is used for
> MSEgui units, "m" prefix is used for forked FPC units. Maybe it should be
> changed to "mfp" or the like. Marcos, what do you think? FPC AFAIK does not
> support unit alias option so it will break existing code.
The "mfp" prefix so
problem of Pascal language isn't Namespace support because we
already have it (unit). The problem, IMHO, is do not have the
flexibility to change the 'path' and/or the 'name' of 'Namespaces'.
Marcos Douglas
___
fpc-pas
On Mon, Oct 28, 2013 at 9:10 AM, Dmitry Boyarintsev
wrote:
> On Sun, Oct 27, 2013 at 12:07 PM, Marcos Douglas wrote:
>>
>> Yes and how I still use D7 at work I still have this problem.
>> This problem happen not only for unit names but component names too. I
>> can
On Sun, Oct 27, 2013 at 12:04 PM, Fabrício Srdic
wrote:
> 2013/10/27 Marco van de Voort
>>
>> In our previous episode, Marcos Douglas said:
>> > > Namespaces are only for pseudo hierarchical disambiguation of unit
>> > > names in
>> > > P
On Sun, Oct 27, 2013 at 11:59 AM, Marco van de Voort wrote:
> In our previous episode, Marcos Douglas said:
>> > Namespaces are only for pseudo hierarchical disambiguation of unit names in
>> > Pascal.
>>
>> Very true. I agree with everything.
>> BUT, IMHO,
the same unit name. In that case I can not add 2 units with the same
name in my project. So, only in that case, we could use 'namespaces'
to 'rename' these units only for use in our projects without change
the original source.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Mon, Sep 30, 2013 at 8:09 AM, Dennis Poon wrote:
> Since TBufDataSet is in-memory, to speed things up, how can I directly
> access the N'th record and M'th field's value as Variant?
> [...]
You can use buf.RecNo and buf.FieldByName('field_name')
On Thu, Sep 19, 2013 at 1:44 AM, Sven Barth wrote:
> Am 18.09.2013 23:34 schrieb "Marcos Douglas" :
>
>
>>
>> On Tue, Sep 17, 2013 at 2:41 PM, Sven Barth
>> wrote:
>> > On 17.09.2013 17:27, Marcos Douglas wrote:
>> >>
>>
On Tue, Sep 17, 2013 at 2:41 PM, Sven Barth wrote:
> On 17.09.2013 17:27, Marcos Douglas wrote:
>>
>> On Tue, Sep 17, 2013 at 12:18 PM, Marcos Douglas wrote:
>>>>
>>>> Another thing you could try (just for testing): change your exception
>>>> ha
On Tue, Sep 17, 2013 at 12:18 PM, Marcos Douglas wrote:
> On Sun, Sep 15, 2013 at 4:25 PM, Sven Barth
> wrote:
>> On 15.09.2013 13:05, Marcos Douglas wrote:
>>>
>>> [[cut]]
>>>
>>>
>>> I tried. No makes difference.
>>> (cou
On Sun, Sep 15, 2013 at 6:56 AM, Sven Barth wrote:
> On 15.09.2013 03:21, Marcos Douglas wrote:
>>
>> Hi,
>>
>> 1) I have a code like that:
>>
>> procedure TghSQLConnector.Connect;
>> begin
>>try
>> FLib.Connect;
>>
t address 40B758
Can you explain this?
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sat, Sep 14, 2013 at 10:21 PM, Marcos Douglas wrote:
> Hi,
>
> 1) I have a code like that:
>
> procedure TghSQLConnector.Connect;
> begin
> try
> FLib.Connect;
> except
> on E: Exception do
> DoOnException(E);
> end;
> end;
>
&
On Sat, Jun 22, 2013 at 10:39 AM, Ludo Brands wrote:
> On 06/22/2013 03:20 PM, Marcos Douglas wrote:
>> On Sat, Jun 22, 2013 at 4:35 AM, Ludo Brands wrote:
>>> Can you confirm it works with dbsetlname(FDBLogin, PChar('MyApp'), 5) ?
>>> If that is the case I&
On Sat, Jun 22, 2013 at 4:35 AM, Ludo Brands wrote:
> On 06/21/2013 09:12 PM, Marcos Douglas wrote:
>> On Fri, Jun 21, 2013 at 4:08 PM, Marcos Douglas wrote:
>>> On Fri, Jun 21, 2013 at 3:59 PM, Ludo Brands wrote:
>>>> Ah, just found out that DBSETAPP is wrongl
On Fri, Jun 21, 2013 at 4:08 PM, Marcos Douglas wrote:
> On Fri, Jun 21, 2013 at 3:59 PM, Ludo Brands wrote:
>> On 06/21/2013 08:01 PM, Marcos Douglas wrote:
>>
>>> Worked but I have another problem:
>>> To connect in DB of my client I need to pass the Applicati
On Fri, Jun 21, 2013 at 3:59 PM, Ludo Brands wrote:
> On 06/21/2013 08:01 PM, Marcos Douglas wrote:
>
>> Worked but I have another problem:
>> To connect in DB of my client I need to pass the Application Name parameter.
>> I tried to use Params property but didn
On Fri, Jun 21, 2013 at 2:25 PM, Ludo Brands wrote:
> On 06/21/2013 04:14 PM, Marcos Douglas wrote:
>> On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote:
>>> Hi,
>>>
>>> Is possible to use "instance name" in host connection like bellow?
>>
On Fri, Jun 21, 2013 at 11:16 AM, Michael Van Canneyt
wrote:
>
>
> On Fri, 21 Jun 2013, Marcos Douglas wrote:
>
>> On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote:
>>>
>>> Hi,
>>>
>>> Is possible to use "instance name" in ho
On Fri, Jun 21, 2013 at 11:10 AM, Michael Van Canneyt
wrote:
>
>
> On Fri, 21 Jun 2013, Marcos Douglas wrote:
>
>> Hi,
>>
>> Is possible to use "instance name" in host connection like bellow?
>> server001\instanceABC
>
>
> Small linguist
On Fri, Jun 21, 2013 at 10:38 AM, Marcos Douglas wrote:
> Hi,
>
> Is possible to use "instance name" in host connection like bellow?
> server001\instanceABC
>
> I'm using FPC 2.6.2
>
> Thanks,
> Marcos Douglas
The error is:
Error 20002
Adaptive Server co
Hi,
Is possible to use "instance name" in host connection like bellow?
server001\instanceABC
I'm using FPC 2.6.2
Thanks,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Fri, Jun 21, 2013 at 9:57 AM, waldo kitty wrote:
> On 6/20/2013 17:34, Marcos Douglas wrote:
>>
>> On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys
>> wrote:
>>>
>>> Your only [sane] alternative would then be to NOT use TXMLDocument, pray
>>
On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys
wrote:
> On 19/06/13 13:17, Marcos Douglas wrote:
>>
>> Yes, but my client wants XML... another process will use it.
>
> If the "another process" is also under your control, then maybe you can
> educate the
I converted the sources to use simple files calling Assign(Handle,
'path') and Writeln('info'). Works and is faster.
Thank you all.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
L, as same is even more
> strictly defined than HTML. The unit is based in TComponentList and defines
> several components for the different tag types used).
Interesting.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
the use case, XML is by far the worst format anybody
> could choose.
Yes, but my client wants XML... another process will use it.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, Jun 18, 2013 at 4:37 PM, Zaher Dirkey wrote:
>
> On Tue, Jun 18, 2013 at 7:59 PM, Marcos Douglas wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> What about when opening first time
On Tue, Jun 18, 2013 at 12:21 PM, Zaher Dirkey wrote:
>
>
> On Tue, Jun 18, 2013 at 6:09 PM, Marcos Douglas wrote:
>>
>> But I continue to keep the XML in memory...
>> The easy and fast way as I can see is change the TXMLLogger class to
>> write a simple file
On Tue, Jun 18, 2013 at 12:04 PM, Zaher Dirkey wrote:
>
> On Tue, Jun 18, 2013 at 6:00 PM, Marcos Douglas wrote:
>>
>> But in that way I will have two process to run.
>> I'll write a XML using strings... but thank you.
>
>
> one process, but in function lik
for your
> client, you can do that without loading it into memory, process it line by
> line.
But in that way I will have two process to run.
I'll write a XML using strings... but thank you.
Marcos Douglas
___
fpc-pascal maillist
On Tue, Jun 18, 2013 at 11:01 AM, Michael Van Canneyt
wrote:
>
>
> On Tue, 18 Jun 2013, Marcos Douglas wrote:
>
>> On Tue, Jun 18, 2013 at 10:44 AM, Michael Van Canneyt
>> wrote:
>>>
>>>
>>>
>>> On Tue, 18 Jun 2013, Marcos Douglas wrote
On Tue, Jun 18, 2013 at 10:49 AM, Antonio Fortuny
wrote:
>
>
> Le 18/06/2013 15:42, Marcos Douglas a écrit :
>
> On Tue, Jun 18, 2013 at 10:32 AM, Michael Van Canneyt
> wrote:
>
> On Tue, 18 Jun 2013, Marcos Douglas wrote:
>
> On Tue, Jun 18, 2013 at 9:39 AM, Anton
On Tue, Jun 18, 2013 at 10:44 AM, Michael Van Canneyt
wrote:
>
>
> On Tue, 18 Jun 2013, Marcos Douglas wrote:
>
>>> No. The writer already uses a fixed buffer. Your problem is the use of
>>> TXMLDocument.
>>
>>
>> Ideas? Maybe do what Antonio Fortun
On Tue, Jun 18, 2013 at 10:32 AM, Michael Van Canneyt
wrote:
>
>
> On Tue, 18 Jun 2013, Marcos Douglas wrote:
>
>> On Tue, Jun 18, 2013 at 9:39 AM, Antonio Fortuny
>> wrote:
>>>
>>>
>>>
>>> Le 18/06/2013 14:35, Marcos Douglas a écrit :
On Tue, Jun 18, 2013 at 9:39 AM, Antonio Fortuny
wrote:
>
>
> Le 18/06/2013 14:35, Marcos Douglas a écrit :
>
> Hi,
>
> I need to save some huge XML files in HD.
> Today I call WriteXMLFile(Doc, AFileName) but I have XML with 5G, 10G.. 30G...
>
> What the
Hi,
I need to save some huge XML files in HD.
Today I call WriteXMLFile(Doc, AFileName) but I have XML with 5G, 10G.. 30G...
What the best way to save "line by line"?
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.free
Hi list,
I'm glad to announce the 0.0.1 release of AWS Lib.
AWS Lib is a Pascal implementation of Amazon S3 REST API for Free Pascal.
It is minimalistic, clean and simple.
https://github.com/mdbs99/aws
Comments are welcome. Thanks.
Best regards,
Marcos Do
SQLdb (default), ZEOS or whatever you want;
- It works with IDENTITY columns (AutoInc) automatic and Sequence
values (generators);
Plese, see the examples
https://github.com/mdbs99/Greyhound/tree/master/examples
All comments are welcome, thanks.
Best regards,
Marcos Douglas
PS: I'
On Mon, Jun 10, 2013 at 9:43 PM, Marcos Douglas wrote:
> Hi,
>
> Someone know how translate the "code" bellow to Pascal?
> http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
>
> === code ===
> Authorization = "AWS" + " "
+ '' + #10// ContentMD5
+ '' + #10// ContentType
+ RfcDateValue + #10 // Date
+ '' // CanonicalizedAmzHeaders
+ '/'; //+BucketName; // CanonicalizedResource;
On Thu, May 16, 2013 at 1:31 PM, leledumbo wrote:
> Try this trick: Options := [poNewConsole]; ShowWindow := swoHIDE;
>
Yep. Thanks, I saw... unfortunate a long time after.
Thank you.
Marcos Douglas
___
fpc-pascal maillist - fpc-
On Thu, May 16, 2013 at 12:51 PM, Michael Van Canneyt
wrote:
>
>
> On Wed, 15 May 2013, Marcos Douglas wrote:
>
>> Hi,
>>
>> I want to execute a batch file on Windows (FPC 2.6.2 and Laz trunk)
>> using TProcess class.
>> It ONLY works if I use the
t; style.
Ok, I will do some test to know if SQLdb handles the RETURN_VALUE parameter.
>>
>> Did you try Greyhound?
>
>
> I haven't dig into it yet, but I will try later.
Ok
>
> Thank you!
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sun, Apr 21, 2013 at 10:05 PM, Toru Takubo wrote:
>
> (2013/04/20 23:06), Marcos Douglas wrote:
>>
>> On Sat, Apr 20, 2013 at 2:47 AM, Toru Takubo wrote:
>>>
>>> (2013/04/19 21:22), Marcos Douglas wrote:
>>>>
>>>>
>>>
On Sat, Apr 20, 2013 at 2:47 AM, Toru Takubo wrote:
> (2013/04/19 21:22), Marcos Douglas wrote:
>>
> (snip)
>
>>>
>>> With analogical thinking, I expected that the following might work
>>> for TSQLQuery in FPC:
>>>
>>&g
On Fri, Apr 19, 2013 at 9:22 AM, Marcos Douglas wrote:
> On Fri, Apr 19, 2013 at 4:26 AM, Toru Takubo wrote:
>> Hi Dmitry,
>>
>> Thank you very much for your advice. I am sure your
>> code should work, but unfortunately I can not modify
>> the existing stored
try Greyhound[1] to abstract this. See the example:
procedure TForm1.ToolButton9Click(Sender: TObject);
var
SC: TghSQLClient;
DS: TDataSet;
begin
DS := nil;
SC := TghSQLClient.Create(DM.coRemote);
try
SC.Script.Text := 'declare @param int = :param &
> make[3]: *** [fpmake] Error 1
>
>
> So the solution to your problem really is
> to run a 'distclean' make target before the 'crossinstall' target.
Thank you very much, worked!
I used "distclean" before, but I don't remember why I remove from my script.
Do you know if 'make clean' and 'make distclean' is the same?
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
er/2.7.1/rtl/units/i386-win32
Fatal: Can't find unit process used by fpmkunit
Fatal: Compilation aborted
make[3]: *** [fpmake] Error 1
make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/packages'
make[2]: *** [packages_all] Error 2
make[
of other things to learn
> (different OSs and interfaces). I see no need to add even more to that by
> adding features over and over again. Pascal was successful because it was
> easy and clear. Now it becomes complex and cluttered.
+1
Marcos Douglas
__
On Tue, Mar 26, 2013 at 10:05 AM, Anthony Walter wrote:
> On Tue, Mar 26, 2013 at 5:57 AM, Marcos Douglas wrote:
>>
>> Hi,
>> Is possible to make that only using Windows for any lib?
>>
>> Best regards,
>> Marcos Douglas
>
>
> Marcos,
>
> A
and libssl.a to a FPC lib path ...
>
> Now you can compile for Win 32/64 using OpenSSL static lib files.
Hi,
Is possible to make that only using Windows for any lib?
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, Mar 21, 2013 at 1:39 PM, silvioprog wrote:
> 2013/3/21 Marcos Douglas
>>
>> On Thu, Mar 21, 2013 at 12:30 PM, silvioprog wrote:
>> > 2013/3/21 Sven Barth
>> >>
>> >> Am 20.03.2013 09:18, schrieb Michael Schnell:
>> >>
&
me code and it works and you want to put this in Brook's
sources, I can help you. But if you stay thinking "closed source",
please tell now.
I keep wondering If you keep thinking it is more worthwhile closed
source or open... please tell us so I can be move on.
Thank you.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
at 5:18 AM, Michael Schnell wrote:
> Of course Android is a rather hot topic in the fpc and Lazarus developer's
> forums. There are pages in the fpc / Lazarus Wiki on Android.
Michael, I'm talked about AWS http://aws.amazon.com/s3/
Sven,
Do you know something about it?
Regar
Hi,
Did someone already worked using Amazon S3 and FreePascal, maybe using
Synapse?
Is there a project open source for it?
Thanks,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
> in this case an x86 build ;)
>
>
> Thanks,
> Reinier
Good job.
BTW, I added a link to fpcup in the Greyhound's page.
https://github.com/mdbs99/Greyhound/blob/master/README.markdown
Thank you for added Greyhound in your project.
Best regards,
Marcos Douglas
_
On Thu, Feb 28, 2013 at 9:54 AM, Howard Page-Clark wrote:
> On 28/02/13 12:19, Marcos Douglas wrote:
>
>> Very good!
>> But I'm afraid if someone thinking if Pascal is just for kids 5-9
>> years old... not here, but out there! :)
>>
>> Thank you for
;m afraid if someone thinking if Pascal is just for kids 5-9
years old... not here, but out there! :)
Thank you for share it.
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, Dec 4, 2012 at 4:53 PM, Sven Barth wrote:
> On 04.12.2012 20:03, Marcos Douglas wrote:
>>
>> Hi,
>>
>> See the code below.
>> My question is: Why the cast worked, considering the c variable is a
>> TAClass instance, not a TBClass.
>
>
> As l
... ok for me.
writeln(TBClass(c).GetInfoB)
finally
c.Free;
end;
writeln('Done');
end.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Mon, Dec 3, 2012 at 2:56 PM, silvioprog wrote:
>
> 2012/12/3 Marcos Douglas
>>
>> On Mon, Dec 3, 2012 at 2:32 PM, Michael Van Canneyt
>> wrote:
>> >
>> >
>> > On Mon, 3 Dec 2012, Marcos Douglas wrote:
>> >
>> >> On Mon
On Mon, Dec 3, 2012 at 2:32 PM, Michael Van Canneyt
wrote:
>
>
> On Mon, 3 Dec 2012, Marcos Douglas wrote:
>
>> On Mon, Dec 3, 2012 at 2:03 PM, wrote:
>>>
>>>
>>>
>>> On Mon, 3 Dec 2012, silvioprog wrote:
>>>
>>
el.
But all descendents use TFieds classes so, why not?
I can use a loop and the Append method, but this is not faster.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
What is the faster way to copy a DataSet to another?
The FPC provides some functionality for this?
Thanks,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
am, for supporting ARM so well!
>
> Maybe with the Raspberry Pi and Free Pascal, we can get Object Pascal back
> on the map, and in the hands of young developers. After all, Pascal was
> initially designed as a teaching language - easy to learn, read and write.
Awesom
On Wed, Aug 22, 2012 at 11:05 AM, Sven Barth
wrote:
> Am 22.08.2012 12:37, schrieb Timothy Madden:
>
>> On 08/22/2012 09:57 AM, Marco van de Voort wrote:
>>>
>>> In our previous episode, Marcos Douglas said:
>>
>> [...]
>>>
>>>
>>&
t; any method of any class type (and associated categories) in scope on a
> variable of this type. Again, I don't see a way how the proposed mechanism
> could be used to tell the compiler which classes it should search and which
> not if it should only search fully qualified i
On Wed, Aug 22, 2012 at 3:57 AM, Marco van de Voort wrote:
> In our previous episode, Marcos Douglas said:
>> Yes, we know too... but how prevent this using third-party libs?
>> For example, what do you think if I have a project that have a file
>> called lnet.pas? Can
Third-party means: you can't change (can't, not want or not have access).
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
an have your own lib; each department can choose the names
of your own identifiers and here is the problem.
I had many problems using Object Pascal (Delphi) a long time ago.
> I never seen that before...
Do you use many third-party libs? ;-)
Marcos Douglas
___
> clause could do a backend switch easily.
Yes, this is cool but you can got problems, as Timothy Madden said in
this thread.
I am not proposing break this feature -- because I use it too! -- but
add one more.
Marcos Douglas
___
fpc-pascal maillist - f
ts the
> only possible conflict.
Yeah, I understood and I think this is a great idea (too).
> Requiring all functions to be allways fully qualified will make the
> most commom case worse than current implementation just to be better
> for the uncommon case. This
On Tue, Aug 21, 2012 at 5:19 PM, Marcos Douglas wrote:
> On Tue, Aug 21, 2012 at 4:42 PM, Jorge Aldo G. de F. Junior
> wrote:
>> 2012/8/21 Marcos Douglas :
>>> On Tue, Aug 21, 2012 at 3:08 PM, Marco van de Voort wrote:
>>>> In our previous episode, Marcos Do
On Tue, Aug 21, 2012 at 4:42 PM, Jorge Aldo G. de F. Junior
wrote:
> 2012/8/21 Marcos Douglas :
>> On Tue, Aug 21, 2012 at 3:08 PM, Marco van de Voort wrote:
>>> In our previous episode, Marcos Douglas said:
>>>
>>>> I proposed this sintaxe:
>&g
On Tue, Aug 21, 2012 at 3:08 PM, Marco van de Voort wrote:
> In our previous episode, Marcos Douglas said:
>
>> I proposed this sintaxe:
>> uses my_long_unit_name as my;
>> begin
>> my.proc();
>> end
>
> This doesn't protect any better, since
&g
pose my old code to the risk of new collisions.
>
> Even worse, as the language currently stands, it is possible to upgrade
> a unit to a compatible version and get a different behaviour from my
> program. Without a single warning from the compiler.
Yes, Yes, even people saying otherw
On Tue, Aug 21, 2012 at 1:29 PM, Timothy Madden wrote:
> On 08/21/2012 06:06 PM, Marcos Douglas wrote:
>> On Mon, Aug 20, 2012 at 1:15 PM, Timothy Madden
>> wrote:
> [...]
>>> Is there any form of proposal or some alternative to the USES clause,
>>> that wil
as were proposed... but none was accepted or because no one will
implement it.
I proposed this sintaxe:
uses my_long_unit_name as my;
begin
my.proc();
end
Simple, clean and easy. But I do not know how implement this on the compiler.
IMHO, without changing the language, only the compiler could
ng(utf-16) or whatever you want to call it].
Have sense. This is a good idea.
> Anyway, just my 2¢ worth. no need for any reply.
Now has 4¢. =)
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, Jun 21, 2012 at 11:14 AM, Graeme Geldenhuys
wrote:
>
>
> On Thursday, 21 June 2012, Marcos Douglas wrote:
>>
>>
>> I can't clone the sources:
>> $ git clone https://bitbucket.org/reiniero/fpctwit
>> Cloning into fpctwit...
>> fatal: ht
d.Readunknown
> override in SourceForge with the same patch as attachment.
>
> Thanks,
> Reinier
Hi,
First, good job.
I can't clone the sources:
$ git clone https://bitbucket.org/reiniero/fpctwit
Cloning into fpctwit...
fatal: https://bitbucket.org/reiniero/fpctwit/info/refs
imal, curious for me -- and I'm a Delphi programmer
too.
But if you (and everybody) do not think the same, ok let's forget my
comment. ;-)
Marcos Douglas
PS: OBones, I saw your comments, thanks.
___
fpc-pascal maillist - fpc-pa
l it stay?
>
>
> It will stay afaik, although the effects may still change to better match
> Delphi2009+ compatibility if required.
I would like to understand why Delphi compatibility is so important to
FPC and Lazarus.
Marcos Douglas
___
fpc-pasc
On Thu, May 3, 2012 at 1:01 PM, Sven Barth wrote:
> On 03.05.2012 15:40, Marcos Douglas wrote:
>>
>> On Thu, May 3, 2012 at 10:01 AM, LacaK wrote:
>>>
>>> Marcos Douglas wrote / napísal(a):
>>>
>>> On Thu, May 3, 2012 at 2:52 AM, LacaK wrote:
On Thu, May 3, 2012 at 10:01 AM, LacaK wrote:
> Marcos Douglas wrote / napísal(a):
>
> On Thu, May 3, 2012 at 2:52 AM, LacaK wrote:
>
>
> I saw the TBufDataSet.ApplyUpdates and it calls ApplyRecUpdate.
> The ApplyRecUpdate just raises an exception...
>
>
>
> Ye
om.br/detail?id=897#1825
I don't have other SGBD now to test so, I would like to know if this
is a problem in TMSSQLConnection or in ApplyUpdates?
Thanks,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I saw the TBufDataSet.ApplyUpdates and it calls ApplyRecUpdate.
The ApplyRecUpdate just raises an exception...
There is some implementation, in some place, to work with ApplyUpdates
(like a Delphi's TClientDataSet)?
Thanks
Marcos Douglas
__
Please see:
http://bugs.freepascal.org/view.php?id=21900
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, Mar 29, 2012 at 11:49 PM, waldo kitty wrote:
> On 3/29/2012 21:26, Marcos Douglas wrote:
>>
>> Thanks for the test.
>> We have a little difference: my FPC is 2.6.1 (svn /fixes_2_6).
>> The env variable was added before I start the application, always.
>
>
On Fri, Mar 30, 2012 at 5:43 AM, Bart wrote:
> On 3/29/12, Marcos Douglas wrote:
>
>> The application is installed and the system variable is created.
>
> How exactly is this done?
I'm not responsible for this part but I'm sure
n(GetEnvironmentVariable('TestVar'));
> end.
> -
Thanks for the test.
We have a little difference: my FPC is 2.6.1 (svn /fixes_2_6).
The env variable was added before I start the application, always.
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, Mar 29, 2012 at 8:45 AM, Mark Morgan Lloyd
wrote:
> Marcos Douglas wrote:
>>
>> On Thu, Mar 29, 2012 at 5:42 AM, Mark Morgan Lloyd
>> wrote:
>>>
>>> Marcos Douglas wrote:
>>>
>>>> I know that I have to define the environment v
On Thu, Mar 29, 2012 at 8:32 AM, Sven Barth wrote:
> Am 29.03.2012 13:29, schrieb Marcos Douglas:
>
>> On Thu, Mar 29, 2012 at 8:13 AM, Sven Barth
>> wrote:
>>>
>>> Am 29.03.2012 13:06, schrieb Marcos Douglas:
>>>
>>>> The applica
301 - 400 of 711 matches
Mail list logo