Hi,
I have string variant and while debugging I want to get its value but if
I add a watch for it and copy value from Watch list it copy only first
255 character,How can I get full value?
Regards,
Ara
--
http://www.fastmail.com - A fast, anti-spam email service.
--
On 11/03/2015 16:01, aradeonas wrote:
Hi,
I have string variant and while debugging I want to get its value but if
I add a watch for it and copy value from Watch list it copy only first
255 character,How can I get full value?
Looks like a bug (I get the same problem here, and it is not
Hello,
Wrong number parameters specified for call to MyPopup
This example works in Delphi but not in Lazarus, what are parameters ?
procedure TForm1.Button1Click(Sender: TObject);
var
MyItem,MySubItem1: TMenuItem;
Num: Integer;
begin
Inc(Num);
MyItem:=TMenuItem.Create(Self);
On 11/03/15 11:57, Mehmet Erol Sanliturk wrote:
[...]
When there is NO license information in your repositories , this means that
NO one can use them .
with respect to copy right laws or conventions .
Pointer/Keyword/URL please? I presume for when it matters, one would ask the
On 11/03/2015 16:33, Martin Frb wrote:
On 11/03/2015 16:01, aradeonas wrote:
Hi,
I have string variant and while debugging I want to get its value but if
I add a watch for it and copy value from Watch list it copy only first
255 character,How can I get full value?
Looks like a bug (I get
Add @ to procedure names:
MyItem.OnClick:=@MyPopUp;
MySubItem1.OnClick:=@MyPopUp;
--
Felipe Monteiro de Carvalho
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
But why they aren't in one mode?I mean all the good stuff in one mode?
Because some of them are intersecting:
- Generics syntax in ObjFPC and Delphi mode are different
- Integer = SmallInt in TP/FPC mode, but LongInt in ObjFPC/Delphi mode
continue the list yourself by reading the docs
--
On 2015-03-11 16:39, Felipe Monteiro de Carvalho wrote:
MyItem.OnClick:=@MyPopUp;
MySubItem1.OnClick:=@MyPopUp;
More specifically... it depends of the compiler mode. Is the source code
shared between Lazarus and Delphi? If so you probably want to use the
delphi mode at the top of the
Thank you !!!
2015-03-11 13:39 GMT-03:00 Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com:
Add @ to procedure names:
MyItem.OnClick:=@MyPopUp;
MySubItem1.OnClick:=@MyPopUp;
--
Felipe Monteiro de Carvalho
--
___
Lazarus
When there is NO license information in your repositories , this means that
NO one can use them .
with respect to copy right laws or conventions .
No idea with what's default by law or convention, but when I give no
license, consider it public domain.
--
View this message in context:
Ok,Thank you.
Ara
On Wed, Mar 11, 2015, at 08:21 AM, leledumbo wrote:
But why they aren't in one mode?I mean all the good stuff in one mode?
Because some of them are intersecting:
- Generics syntax in ObjFPC and Delphi mode are different
- Integer = SmallInt in TP/FPC mode, but LongInt
On Wed, 11 Mar 2015, Marco van de Voort wrote:
On Wed, Mar 11, 2015 at 10:55:07AM +0100, Michael Van Canneyt wrote:
ModeSwitch is interesting.
But why they aren't in one mode?I mean all the good stuff in one mode?
What is 'good stuff' ? That depends on the person.
Also: you may want to
On Wed, Mar 11, 2015 at 12:13 PM, Virgo Pärna virgo.pa...@mail.ee wrote:
On Wed, 11 Mar 2015 08:18:35 -0700 (MST), leledumbo
leledumbo_c...@yahoo.co.id wrote:
No idea with what's default by law or convention, but when I give no
license, consider it public domain.
By default
On Wed, Mar 11, 2015 at 10:55:07AM +0100, Michael Van Canneyt wrote:
ModeSwitch is interesting.
But why they aren't in one mode?I mean all the good stuff in one mode?
What is 'good stuff' ? That depends on the person.
Also: you may want to control compatibility. If we added stuff that we
On Wed, Mar 11, 2015 at 7:58 AM, Lukasz Sokol el.es...@gmail.com wrote:
On 11/03/15 11:57, Mehmet Erol Sanliturk wrote:
[...]
When there is NO license information in your repositories , this means
that
NO one can use them .
with respect to copy right laws or conventions .
On Wed, 11 Mar 2015 08:18:35 -0700 (MST), leledumbo
leledumbo_c...@yahoo.co.id wrote:
No idea with what's default by law or convention, but when I give no
license, consider it public domain.
By default author has copyright and sole right to redistribute. And
that's what applies, when
leledumbo wrote:
When there is NO license information in your repositories , this means that
NO one can use them .
with respect to copy right laws or conventions .
No idea with what's default by law or convention, but when I give no
license, consider it public domain.
I'd imagine that
Thanks I found it.
Debugging is what I miss from Delphi,With Delphi its just piece of cake.
You can use lens button (left of properties button in watch list form)
but it doesn't support Ctrl-A.
Thank you for your help,
Ara
On Wed, Mar 11, 2015, at 09:40 AM, Martin Frb wrote:
On 11/03/2015
G'day,
Just found this code on the wiki...
http://wiki.lazarus.freepascal.org/Office_Automation#Copy_HTML_to_the_clipboard
On Windows with Microsoft products at least, this doesn't work... What's
required is more complex:
https://msdn.microsoft.com/en-us/library/aa767917%28v=vs.85%29.aspx
On Wed, 11 Mar 2015 21:32:51 +0100
Marco van de Voort mar...@stack.nl wrote:
[...]
I would welcome a setting to generate $mode delphi units by default.
If you mean in Lazarus:
Project Options / Compiler Options / Parsing Syntax Mode
Set this to Delphi. When you create a new unit it creates
Mattias Gaertner nc-gaert...@netcologne.de wrote:
Michael Thompson mike.cornfl...@gmail.com wrote:
Mattias: Do you know or remember which platforms and applications that
code
worked with?
AFAIR an example is Linux, OpenOffice.
I don't know if OO still supports this.
Sweet. I've left the
On Thu, 12 Mar 2015 11:11:55 +1300
Michael Thompson mike.cornfl...@gmail.com wrote:
G'day,
Just found this code on the wiki...
http://wiki.lazarus.freepascal.org/Office_Automation#Copy_HTML_to_the_clipboard
On Windows with Microsoft products at least, this doesn't work... What's
Am 2015-03-10 um 22:23 schrieb aradeonas:
How can I compare two record?
Like this :
type
TRec=record
na:string;
end;
var
R1,R2:TRec;
Begin
R1.na:='A';
R2.na:='B';
if R1R2 then
Showmessage('Error')
In your example you would not need the
Hi,
After times I used Lazarus I still have a question about compiler mode.
Why there is 5 mode?What can I do when I want objfpc mode benefits that
is Lazarus default but for example I want advanced record syntax that
can used with Delphi mode?
Can any one explain it to me or link me to a
Thank you Jürgen,That is just a example but Its good to know there is
now way.
Thank you Sven for examples.I didn't know about advanced record support.
Regards,
Ara
On Tue, Mar 10, 2015, at 11:43 PM, Sven Barth wrote:
On 10.03.2015 22:23, aradeonas wrote:
Hi,
How can I compare two record?
On 10.03.2015 22:23, aradeonas wrote:
Hi,
How can I compare two record?
Like this :
type
TRec=record
na:string;
end;
var
R1,R2:TRec;
Begin
R1.na:='A';
R2.na:='B';
if R1R2 then
Showmessage('Error')
At the declaration of TRec add this:
=== code
On Wed, 11 Mar 2015 10:02:36 +0100
Michael Schnell mschn...@lumino.de wrote:
On 03/11/2015 08:57 AM, aradeonas wrote:
operator = (aLeft, aRight: TRec): Boolean;
I get Logical Operator not supported.
As Sven wrote:
Alternatively you can declare the operator inside TRec if you enable
On 03/11/2015 08:57 AM, aradeonas wrote:
operator = (aLeft, aRight: TRec): Boolean;
Seemingly with operator =, operator is automatically overloaded.
Nonetheless it is possible to do your own (contradicting) operator
if you like :-) .
-Michael
--
On 03/11/2015 08:57 AM, aradeonas wrote:
operator = (aLeft, aRight: TRec): Boolean;
I get Logical Operator not supported.
-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Can any one explain it to me or link me to a source?
http://www.freepascal.org/docs-html/user/userse33.html
http://www.freepascal.org/docs-html/prog/progap4.html
http://www.freepascal.org/docs-html/prog/progsu106.html
--
View this message in context:
ModeSwitch is interesting.
But why they aren't in one mode?I mean all the good stuff in one mode?
Regards,
Ara
On Wed, Mar 11, 2015, at 02:35 AM, Mattias Gaertner wrote:
On Wed, 11 Mar 2015 10:20:54 +0100
Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote:
On Wed, Mar 11,
On Wed, Mar 11, 2015 at 9:02 AM, aradeonas aradeo...@operamail.com wrote:
What can I do when I want objfpc mode benefits that
is Lazarus default but for example I want advanced record syntax that
can used with Delphi mode?
Split your unit in 2: one in objfpc mode and another in delphi mode.
On Wed, 11 Mar 2015 10:20:54 +0100
Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote:
On Wed, Mar 11, 2015 at 9:02 AM, aradeonas aradeo...@operamail.com wrote:
What can I do when I want objfpc mode benefits that
is Lazarus default but for example I want advanced record
On Wed, 11 Mar 2015, aradeonas wrote:
ModeSwitch is interesting.
But why they aren't in one mode?I mean all the good stuff in one mode?
What is 'good stuff' ? That depends on the person.
Also: you may want to control compatibility. If we added stuff that we think is
fun,
someone uses it
On 03/11/2015 10:02 AM, Michael Schnell wrote:
I get Logical Operator not supported.
I do have:
{$mode objfpc}{$H+}
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On 03/11/2015 10:02 AM, Michael Schnell wrote:
I get Logical Operator not supported.
I found that seemingly overloading an operator is not allowed within a
procedure, while defining a type is allowed.
Is this a bug or a feature ?
Anyway, the error message is a bit misleading
-Michael
However, I have a question: is there any article about 'how to write
lexical parsers' using Object Pascal?
First, you need to differentiate them correctly. Lexical scanner (or simply
lexer) and parser, not lexical parser :)
I've written some simple languages, generating GraphViz, LLVM or C
On 03/11/2015 10:31 AM, Mattias Gaertner wrote:
Alternatively you can declare the operator inside TRec if you enable
modeswitch advancedrecords It means: {$modeswitch advancedrecords}
Nice ! (I tested this but forgot the mode switch ;) )
Why is this mode not the default ?
-Michael
--
Like advancedrecords,
For many developers like me that Lazarus is going to be his/her main IDE
and dont care code compatible with Delphi these are boring.
For example Im using Delphi for 10 years and from the time Im using
Lazarus I never need comparability.
I mean while Lazarus and FPC are going
On Wed, Mar 11, 2015 at 2:38 AM, leledumbo leledumbo_c...@yahoo.co.id
wrote:
However, I have a question: is there any article about 'how to write
lexical parsers' using Object Pascal?
First, you need to differentiate them correctly. Lexical scanner (or simply
lexer) and parser, not lexical
I attached, all errors outputs. system is win8 x64
can some one help what is wrong or how to do build qt4pas5.dll x64?
Thank you.
qt 4.8.6 binary files from:
http://sourceforge.net/projects/qtx64/files/?source=navbar
mingw64 files from: http://www.drangon.org/mingw/
qt4pas5 source from
On 03/11/2015 12:44 PM, FreeMan wrote:
I attached, all errors outputs. system is win8 x64
can some one help what is wrong or how to do build qt4pas5.dll x64?
Thank you.
Add -fpermissive to gcc so it should compile then. In that case such
errors will become warnings (something like range check
42 matches
Mail list logo