Ah, you debugged startlazarus.
Please start /media/LinuxShared/lazarus/lazarus in gdb.
No difference:
leledumbo@LeleBuntu:/media/Sources/fpc$ gdb
/media/LinuxShared/lazarus/lazarus
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3
If Lazarus is on Linux, one problem is due to file permissions. Your
.lazarus directory was somehow changed to read only or owner so you
can't save env variables on it, if not, the file must be corrupt?
If on Ubuntu in your home directory, you can try 'sudo chown
yourusername.yourusername -R
After some experiments, it looks like there's a bug in handling MY
environmentoptions.xml.
Running the IDE from terminal shows up:
[TEnvironmentOptions.Save] error writing
/home/leledumbo/.lazarus/environmentoptions.xml: EDOMError in
DOMDocument.CreateElement
when I change certain value
I have no idea since when, but the latest I've tried is r43866. Lazarus keeps
asking for FPC source directory and it can't even find its own directory.
Even so, after choosing the correct values, upon restarting these are asked
again. So, I inspect environmentoptions.xml and indeed these values
You used Brook in the construction of this site?
Not me, it's him. I haven't done any publicly accessible web app with Brook
yet.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-FPC-for-Web-Development-only-tp4035589p4035722.html
Sent from the
Hm... but he used Brook?
One thing for sure he uses fcl-web, but no idea whether he uses it directly
or through Brook.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-FPC-for-Web-Development-only-tp4035589p4035724.html
Sent from the Free
The second link at the bottom is his name, he's one of Pascal evangelist in
Indonesia. We're running roadshows about Modern Pascal across Indonesia.
--
View this message in context:
Hehe... Thanks buddy! Please see Bootstrap project. :)
http://getbootstrap.com
Yep, I already use that along with jQuery. They do help covering my bad
design. I really have no sense in good looking one, all I care is simplistic
and straightforward yet intuitive UI/UX :p
--
View this message
This project should be web, multilanguage, and so on…(now all should be web
☹ ) and I would like to know your opinion if it’s worth to develop web
applications using server side with Brook (for example), and HTML5 and JS
for client side, against other options like Java, PHP, Python.
Yes, I'd
1 - http://buscadobairro.com.br (under construction, and is a very basic
site because I did it with low cost to my client, see the login form here
http://imagebin.org/291097 and some others screens here
http://imagebin.org/291098, http://imagebin.org/291100);
2 -
Actually startlazarus just starts lazarus (as its name implies), you can see
the source code yourself
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-startlazarus-x-lazarus-tp4035408p4035431.html
Sent from the Free Pascal - Lazarus mailing list archive
Whenever you have `undefined reference to WSRegisterXXX`, you're missing
Interfaces unit in the .lpr. Sometimes package that registers custom
components (such as RichMemo) in its package main file is also required to
be added to .lpr's uses clause.
--
View this message in context:
Maybe one more question: is it true if I assume that when using any
cocntrol from the ExtCtrls unit, the Interfaces unit is required even when
the components used are not visible ?
Yes. Interfaces unit is the unit that links LCL with the chosen GUI library
backend.
--
View this message in
OK, just checked out again. Everything works.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/revision-43702-gives-broken-lazbuild-tp4035343p4035358.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Search for variants.* especially in the install folder as there may be
several dangling ones due to recent changes in 2.7.1. If more then one
is found, it would be better to clean all object files thoroughly.
Got it, instead of rtl and objpas, there are rtl and rtl-objpas directories
now. The
Can anyone confirm before I file a bug report? This happens when I try to
build using `make clean lazbuild useride`, lazbuild crashes even when called
without argument.
--
View this message in context:
Same here, no idea yet. Investigating...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FPC-and-Lazarus-trunk-tp4035310p4035314.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
No idea, sorry. I don't use fpcup and I don't know whether it suppresses
compiler/assembler/linker messages or not. If you build manually by hand,
you'll be able to see a list of cannot find: -lXXX which indicates the
missing libraries.
--
View this message in context:
Just check what -lXXX are missing
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-What-are-the-prerequisites-for-compiling-Lazarus-on-a-KDE-based-system-tp4035177p4035181.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
You can get the debs from sourceforge, or simply follow:
http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu
It will come up in your package manager, much easier than windows installer
:)
--
View this message in context:
Latest commit is in 2008, the project is indeed outdated. I did take a look
at it a few years ago, but since Greyhound borns, I never look at it
anymore.
--
View this message in context:
You get the cross compiler, that's all you need. Lazarus does NOT need to be
cross compiled.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-cross-compiler-win32-i386-can-t-compile-tp4034702p4034703.html
Sent from the Free Pascal - Lazarus mailing list
From http://wiki.lazarus.freepascal.org/xmlconf, looks like simply setting
FileName will do.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-is-XMLConfig-supposed-to-work-tp4034509p4034513.html
Sent from the Free Pascal - Lazarus mailing list
Does heaptrc intercept and monitor memory allocation throughout the program
execution, or does it do a scan of memory usage for output only at program
shutdown?
Look at the source code, it's open :)
Basically HeapTrc will replace the current memory manager with its own,
tracing everything that's
{$R} (FPC style) resources are not the same as Lazarus resources. See:
http://wiki.freepascal.org/Lazarus_Resources
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Resources-tp4034456p4034457.html
Sent from the Free Pascal - Lazarus mailing list archive
CHM for me, it has nice features that web based one can't do fast.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Local-CHM-help-files-or-web-based-tp4034271p4034272.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Indeed that was wrong, I shouldn't exploit the internal details. Below is the
correct one (still no need for that complicated code of yours):
uses
SysUtils,DateUtils;
var
Date1,Date2: TDate;
Y,M,D: Word;
begin
Date1 := EncodeDate(2012,12,21);
Date2 := EncodeDate(2013,01,01);
Y
You need to set -Fl to point to the NDK libraries, read up fpc.cfg thing
here:
http://wiki.freepascal.org/Android#Building_cross_compiler
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Compilation-error-when-targeting-Android-tp4034178p4034179.html
In project1.lpr file line 21 is end.
In case of link time warning/error, no information related to source code
that can be used for this. The location information available is the last
tokens that the parser sees: end.
/usr/bin/ld: warning: /opt/lazarus/link.res contains output sections; did
I am trying to find where WriteLn is declared; but, apparently, WriteLn
is among the select few that Lazarus will ignore 'Find Declaration'
requests --at least that's how it behaves (latest Lazarus stable) on my
side.
WriteLn is NOT a regular procedure. It's rather a special command for the
If I understood correctly, you want to override the meaning of WriteLn (for
programs and units using globals.pas), right? In that case, just create
Write(Ln) procedure in globals unit. That will override the system unit one.
However, you can't have the one with variable number of arguments, at
Could it be the functions were splitted in two libraries sometime ago?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Can-t-compile-Lazarus-on-Linux-Mint-15-tp4033838p4033871.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
Looks like it can't find cairo development library to link
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Can-t-compile-Lazarus-on-Linux-Mint-15-tp4033838p4033853.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
I have the same problem on Ubuntu 13.04 and the cairo libs are installed.
Including the -dev package?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Can-t-compile-Lazarus-on-Linux-Mint-15-tp4033838p4033860.html
Sent from the Free Pascal - Lazarus
3-4 comments to help promoting Lazarus/Free Pascal to them. Mind to help as
well, guys?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Graeme-would-love-this-or-not-I-think-tp4033781p4033788.html
Sent from the Free Pascal - Lazarus mailing list archive
confused on what control to use (timage, tbitmap, something else)and what
are the steps to get the image to that control?
TImage is meant for static image, TBitmap could be one of the possible image
container of TImage, or used freely to draw or manipulate other bitmaps.
Just drop a TImage and
No idea then, seems to be Windows API specific
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-do-you-remove-form-caption-area-tp4033716p4033726.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
BorderStyle := bsNone
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-do-you-remove-form-caption-area-tp4033716p4033717.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Seems like you're just getting a broken revision. This:
zipper.pp(2721) Error: Error while assembling exitcode 1
zipper.pp(2721) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
paszlib\units\arm-linux\zipper.s: Assembler messages:
In short, you can't put it in the .dpr if you want it to be accessible from
all units. Actually, there's not really any magic behind TApplication, you
can still create your own TApplication descendant (preferably in its own
unit) and assign that to Application variable. Provide a global property
'make' is not in the search path.
Correct 'make' to 'fpc'
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Build-Lazarus-on-Linux-Make-is-deprecated-tp4032830p4032843.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Both code should be fairly in sync, but use the graeme version instead, it
may contain Lazarus specific fixes.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Pascal-Script-and-Lazarus-Free-Pascal-tp4032756p4032759.html
Sent from the Free Pascal -
Please I would like to know if its possible to fpuname function for
windows?
No, the containing unit is BaseUnix, Windows doesn't implement unix
functions. You have to use the one from Windows unit since I don't think
cross platform function exists yet.
--
View this message in context:
Indeed! More people should be introduced [and educated] to the much
better open source database servers out there, like Firebird and
PostgreSQL.
Or if they insist on using MySQL (compatible alternative): MariaDB
--
View this message in context:
Well, then they need to be added for Delphi compatiblity :o
I can't say anything anymore when the reason is this :)
They have been added. It's just not yet in trunk.
Hoo... a hidden branch?
--
View this message in context:
The whole JEDI sucks, dependencies hell everywhere and IS TIED TO WINDOWS!
Some of the components have been converted though.
Virtual Treeview is available for Lazarus.
Quickreport is not needed because we have LazReport, more over, FastReport
is also Lazarus compatible.
Lazarus can connect to
Annotations like in Java would be nice...
No IMHO, that would complicate reading the code (more cluttered) as you can
see in the newer Delphi versions (called attributes instead of annotations
though).
--
View this message in context:
http://svn.freepascal.org/svn/lazarus/trunk/ide/sourceeditor.pp ?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-SynEdit-Code-Completion-tp4032288p4032289.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Error 193 is %1 is not a valid Win32 application, what is your .Executable
or .CommandLine property?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TProcess-and-Windows-XP-tp4032239p4032244.html
Sent from the Free Pascal - Lazarus mailing list archive
I fix this a little while ago in trunk. 1.0.10 should be free from this bug.
What's your fpc version?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-Compile-Error-tp4031986p4031988.html
Sent from the Free Pascal - Lazarus mailing list archive
I has many TComboBox components on the forms without the AutoComplete
property set to True, so I was looking for the easy way to make it True
during the run time.
Then loop over the components instead of checking the Sender only
--
View this message in context:
OnCreate of what? For TForm, the Sender parameter would be... the form
itself. Why don't you directly set the property? i.e. ComboBox1.AutoComplete
:= true;
--
View this message in context:
Just ignore the warnings, they seem to be safe for FPC programs (FPC doesn't
use GCC initializer/finalizer, it has its own). This may be caused by newer
binutils, whose behavior is documented here:
http://gcc.gnu.org/onlinedocs/gccint/Initialization.html
--
View this message in context:
Currently it needs to be compiled without -WG (so you have this ugly cmd
window) - this will change as soon as I don't need debug info output any
more.
Use DebugLn instead, it will work with/without standard output available.
--
View this message in context:
also physically deleting C:\Develop\fpc\2.7.x\units\arm-android directory
and recompiling fpc with CROSSOPT=-CfVFPV3 -OoFASTMATH -CpARMV6 I get the
same error.
This is what I actually mean by cleaning up your arm-android installation.
If you've done that, then retry:
if I use only
'Project TextHeight raised exception External SIGSEGV in file
'.\include\lclintf.inc' at line 184.'
What's there? It's part of lcl, so look for the file in lcl folder.
--
View this message in context:
OK, that means it tries to get something from current widgetset, which is nil
for a console application. I guess LCLBase is the least thing you can use
from LCL for a console app. You could follow Graeme's advice.
--
View this message in context:
Isn't the error message clear enough?
PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu
Trying to use a unit which was compiled with a different FPU mode
The compiler tries to load the system unit, but it's compiled with different
FPU mode that the one you're targetting with.
http://lazarus-ccr.sourceforge.net/docs/lcl/lclversion/index.html
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Get-Lazarus-version-at-runtime-tp4031280p4031286.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
I have put a bounty to get a lazarus installer with android free pascal
cross compile included.
I've seen it and I guess I can do it since I already have in my current
setup on Linux. But I'm too lazy to open my Windows again... :P
A problem that might appear is that since the support is
Console is always defined on Linux, because all Linux applications have
console. I think it's better to use a custom define.
--
View this message in context:
How can they sell this ... as a cross-platform solution ?
For most people, having at least two different targets already counts
cross-platform, even if the host is only one (yaoming). The prerequisites
suck, REALLY REALLY SUCK (why do the hell they need .NET framework there?)
Reference:
Assign all the RGBA value in one go, that would reduce the inner loop by 4
times. i.e.:
var
PixelPtr: PLongWord;
PixelRowPtr: PByte;
begin
PixelRowPtr := Fbmp.RawImage.Data;
for Y := 0 to Self.Height - 1 do
begin
PixelPtr := PLongWord(PixelRowPtr);
for X := 0 to
If your design is modular enough, you can use frontend-backend architecture.
Only the frontend should differ. This could be achieved by having 2 .lpi
referencing the same backend unit, with each own frontend (user interface).
Another way would be to use build mode, differing in -Fu paths. One
I´m confusing... I always find out that the CONSOLE directive exists only
for applications that does not require a GUI or in other words,
applications that does not require a X server
Linux applications are console, Linux doesn't have integrated GUI as a part
of the system like Windows
For using the LCL
in Android see http://wiki.freepascal.org/Android_Interface instead of
the link that you have.
The link above also applies to LCL, since quite recent 2.7.1 has pure
Android support (and I've been able to build my Android apps with it)
--
View this message in context:
Regarding you usually need do do this not very often during your workflow.
I suppose what you mean is to create build mode for each
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FR-LCLWidgetType-not-easy-tp4030411p4030455.html
Sent from the Free
I'd say go for startlazarus.exe as it's the helper program used for
successful automatic restart after installing a package (I don't know
whether lazarus.exe will check and start startlazarus.exe by itself, but to
be safe, it's better to start from startlazarus.exe).
--
View this message in
Is there any way to record all currently installed components (Lazarus
inbuilt and self-installed) and automatically re-install them when updating
Lazarus?
Lazarus doesn't distinguish components you add manually and the ones that
come with it. So you have to keep track yourself.
I put
Is there a wiki on Updating For Idiots?
AFAIK no, feel free to create one. Anyway, when you're able to program, you
shouldn't be included in idiots group anymore...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-update-tp4029944p4029960.html
Where did you search? It's 0.6.5 in Lazarus-CCR (I have 0.6.6 from svn):
http://sourceforge.net/projects/lazarus-ccr/files/lNet/
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Installing-Lazarus-tp4029785p4029790.html
Sent from the Free Pascal -
Lazarus 1.1 r40503 FPC 2.7.1 r23704, both my app and androidlcl example
crashes with this:
I/lclapp ( 738): [FORMS.PP] ExceptionOccurred
I/lclapp ( 738): Sender=EIntOverflow
I/lclapp ( 738): Exception=Arithmetic overflow
I/lclapp ( 738): Stack trace:
I/lclapp ( 738): $46AC306C
Could anyone explain what's SIGFPE?
SIGFPE stands for SIGnal Floating Point Exception, that is caused by a
probably invalid operation involving floating points.
Why there is a SetExceptionMask?
Probably to override the same thing already done by (implicitly used)
libraries, e.g. gtk2
Why a
Installing libx11-dev should automatically install libxcb-dev (which is the
one you miss)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Error-while-compiling-tp4029732p4029741.html
Sent from the Free Pascal - Lazarus mailing list archive at
Nice news Sven, so now I can drop the hacked 2.5.1?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Android-LCL-example-with-2-7-1-tp4029697p4029702.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
If a buffer expect the first element, and count is the number of elements
to write, then what is the unit size of that element? is it always byte?
From
http://www.freepascal.org/docs-html/rtl/classes/thandlestream.write.html:
Write overrides the Write method of TStream. It uses the Handle
I was using an INI file, but record make things a lot easier.
If you use TIniFile, you don't have to worry about saving and restoring
values. It's much easier than writing your own saving/restoring procedure.
--
View this message in context:
I don't think my built in help is working, F1 does nothing.
How do I enable built in help?
http://wiki.freepascal.org/Installing_Help_in_the_IDE
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Ok-I-give-up-tp4029554p4029579.html
Sent from the Free
as all my programs use string type, change them all to AnsiString is
scaring and I don't know the consequence at all
Do you access the string's internal structure? Do you write the string to
file directly instead of taking its content? If not, then nothing you have
to worry about. Standard
My question is, why the above code with string works sometime, but not
alwasy fail?
TStream.Write expects a buffer, typically the first element of an item (NOT
a pointer to it) and the length (number of elements after first one).
fs.Write(s, Length(s));
Here you try to give the WHOLE string,
No such a framework yet, but we have unit testing frameworks on which you can
do TDD on top of. FPCUnit is distributed along, while FPTest is 3rd party.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TDD-tp4029488p4029507.html
Sent from the Free Pascal
tiOPF and Greyhound (+ my ghORM) are two frameworks I've ever used. There are
others, but I never touch them.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-CRM-and-MVC-tp4029487p4029508.html
Sent from the Free Pascal - Lazarus mailing list archive at
Is there anyway to avoid this dilemma? Because I don't want treap.pas to
reversely rely on a specialized class.
No, it's not a dilemma, but rather a requirement. Before generics
specialization, all required operations for given type must be known. This
is because the symbol table when the
FPC operator overloading doesn't work inside classes, it must be declared
globally, so method2 should work. What error do you get? What FPC version do
you use?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-operator-overloading-tp4029399p4029400.html
Why don't you ask the porter? He puts his name in the wiki page, right?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-log4delphi-maintainer-tp4029386p4029387.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
I don't remember debugger support status for generics. But have you ensured
the unit is compiled with debugging info?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Debugging-generics-tp4029221p4029228.html
Sent from the Free Pascal - Lazarus mailing
Probably the one after this, note that Lazarus and FPC have separate release
cycle, and Lazarus default distribution will always depend on the latest
stable release of FPC (2.6.2 isn't out yet, right?).
--
View this message in context:
Looks like your fpc.cfg isn't setup well, could you post the content here? It
should be located in /etc, if none exists, then you definitely miss one.
Create the default file with fpcmkcfg program (comes with fpc, so you
probably already have it) then move to /etc. Edit (or add) -Fu lines to
point
ps. I tried the Unpack function of FPC, but I don't know how to use it.
Unpack() is for unpacking previously Pack()-ed data
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Unpack-of-PHP-tp4029070p4029074.html
Sent from the Free Pascal - Lazarus
I'd rather have those options appear when the target platform combobox
changes
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Project-Options-dialog-tp4029037p4029039.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Looks like Delphi mode or AnsiString as default string option is missing...
Strings other than ShortStrings should be convertible to PChar.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-compiling-PowerPDF-on-win32-tp4028928p4028929.html
Sent from the
Does fpc 2.6 + lazarus work on android?
No currently, though it's not impossible theoritically. At least somebody
has compiled the compiler and some rtl units and provide it in the form of
PascalGUI (find in market).
--
View this message in context:
This program should clear screen and generate random numbers
but the [6n[H[m[H[2J and[1B seem to be control codes, also the
console does not refresh.
As been told before, the terminal window is not a true console. It doesn't
understand control codes at all and will output as is.
--
On Linux, there's no separation between console and gui programs. To see
console output, you have to launch from something that can read standard
output. It's your terminal by default, however Lazarus has such a feature
from View-Debug Windows-Terminal Output.
--
View this message in context:
Alex, could you try porting LazReport to nogui? AFAIR, the problem is the
same as TAChart, it requires to draw somewhere.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-ISSUE-FCL-Web-and-LazReport-tp4028559p4028607.html
Sent from the Free Pascal -
I think making src also a var parameter...
Or const since it's meant to be read only
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Got-Pointer-expected-Open-Array-Of-Char-tp4028513p4028521.html
Sent from the Free Pascal - Lazarus mailing list
What's the output of: which lazarus
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Startlazarus-starting-wrong-Lazarus-tp4028516p4028522.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Actually, rather than continuing this, if what you need is only to copy a
dynamic array then you can simply:
dst := Copy(src,0,Length(src));
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Got-Pointer-expected-Open-Array-Of-Char-tp4028513p4028525.html
What's the type of dst and src that you pass to the function? Array is not
pointer, and I have no idea about open array with var modifier. Open array
is compatible with any array (and its subarrays through slicing).
--
View this message in context:
As far as I know pascal inline directive only affect the compiler, not how
you write code. Could you please give an example how inline function helps
in my question?
Yes it does, what I mean is to create something that Point() function does
and using inline directive it's nearly the same as
101 - 200 of 314 matches
Mail list logo