2017-05-27 16:12 GMT+02:00 Michael Van Canneyt :
>
>
> On Sat, 27 May 2017, Sven Barth via fpc-pascal wrote:
>
>> 2017-05-27 9:54 GMT+02:00 Michael Van Canneyt :
>>>
>>>
>>>
>>> On Sat, 27 May 2017, Mr Bee via fpc-pascal wrote:
>>>
&g
2017-05-27 18:10 GMT+02:00 Dennis Poon :
>
>
> Sven Barth via fpc-pascal wrote:
>>
>> The idea itself is valid, cause "(IMyInterfaceVar as TObject) as
>> IMyInterface = IMyInterfaceVar" is true if and only if IMyInterface is
>> a COM interface. If IMyInte
: 'foo', options: []);
>
> Objective-C has this mandatory and it made for stupidly long method names
that just looked terrible but it was optional Pascal makes it look nicer.
The declaration syntax is already the same as the label for the calling
syntax so that seems like a nice fit.
Am 29.05.2017 10:26 schrieb "Ryan Joseph" :
>
>
> > On May 29, 2017, at 1:01 PM, Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> >
> > If anything like this would be implemented, then the already existing
syntax (for variant
the params without proper order is fine,// as long as the parameter name is
givenf(d := 0.3, i := 3, s := 'text')// supply param with similar variable name
is fine,// because the compiler knows what each meanss := 'another text';d :=
0.4;m(s := s, d := d);
Well, it's all i
Am 01.06.2017 16:49 schrieb "Dimitrios Chr. Ioannidis via fpc-pascal" <
fpc-pascal@lists.freepascal.org>:
>
> Hi,
>
> I'm trying to "convince" gdbserver ( not gdb ) to attach to a windows
service, but I'm always get the "Attach to process fai
e.
The value of it is simply what is currently on the stack which *can* be Nil.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
l dialogs
The dialog that occurs when you download a program is also controlled
somewhere, but it's cause is an alternate datastream that gets attached to
the downloaded file. I don't know right now whether signing the execuable
makes a difference here aside from the dialog looking less
Am 29.06.2017 23:27 schrieb "Bo Berglund" :
>
> On Thu, 29 Jun 2017 11:08:40 +0200, Sven Barth via fpc-pascal
> wrote:
>
> >- open "Internet Options"
>
> The wording on these option pages seem to indicate that they are for
> websites. That is all the
for a IDE wizard or external tools.
Completely ignoring the type inference which I'm definitely not a fan of
- at least not in Pascal: In my opinion it would be better to improve
and finalize the $IncludeStringFile patch from issue #25536 (
https://bugs.freepascal.org/view.php?id=25536 ).
It has
d.
=== code end ===
The variant with the enum has the advantage that the compiler will
complain about missing elements if you add one to the enum type.
Though in both cases you should ensure that your index is in range.
In case of many branches the variant with the array (any of the two
v
>
> Thanks for the link. Seems this topic has already been discussed a year
and a bit ago.
>
> Anybody know if there was any movement on the $IncludeString idea?
See my message from yesterday night. :)
Regards,
Sven
_______
fpc-pascal maillist - f
e, it was measured.
There is
>>> a 10% performance loss.
>>
>>
>> I'd love a source on this one. I guess you mean in Free Pascal?
>
>
> Obviously.
>
> The classes unit can be recompiled to use the fgl (well, that used to be
so)
> as a basis. When u
t;> https://docs.oracle.com/javase/tutorial/essential/exceptions/catch.html
>
>
> Yes. You can have multiple catch blocks inside the same try block. You
can also have a single catch block with a comma separated list of exception
types.
You can catch multiple exception types in Object Pas
= Buffer + c;
The + operator is not yet implemented by default on FPC (neither is
Concat()), but you can easily declare that yourself.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
her the extended type is a specialization or not).
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ver intended for public use and
only available for a specific use case.
For cross platform use the Delphi compatible TSemaphore in the SyncObjs
unit should be implemented...
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.fre
end;
>
> begin
> foo; // will print empty line
> foo; // will print 'hello from static local variable'
> foo; // will print 'hello from static local variable'
> end.
For completeness sake:
https://www.freepascal.org/docs-html/current/ref/refse10.html#x22-
On 17.07.2017 19:20, Ryan Joseph wrote:
>
>> On Jul 17, 2017, at 10:58 AM, Sven Barth via fpc-pascal
>> wrote:
>>
>> I'll need to check whether Delphi allows that for helpers (doesn't matter
>> whether the extended type is a specialization or no
> but it looks a bit involved, probably better to use an object field
> variable instead only accessible from the internal methods.
If you don't want to use $push/$pop then you can also simply enable $J+ for
the whole unit. But this will also mean that global constants are writable.
Re
Am 21.07.2017 10:44 schrieb "Santiago A." :
>
> El 20/07/2017 a las 15:50, Sven Barth via fpc-pascal escribió:
>>
>> Am 20.07.2017 13:01 schrieb "Bo Berglund" :
>> >
>> > On Thu, 20 Jul 2017 11:11:50 +0200, Maciej Izak
>&g
Obrigado
This is an English list, so please write in English.
Regards,
Sven
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
with operators that are part of the
class that would be much more inviting.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
aines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
TBytes;
> begin
> b:= TBytes.Create(1,2,3);
> c:= TBytes.Create(10,11);
> Insert(c,b,2);
>
> -> b is now [1,2,10,11,3]
But only in trunk. And Delphi XE8 and newer also support them.
Regards,
Sven
_______
fpc-pascal maillist - fp
ly trunk supports this as well as Delete() (Concat() is not
yet implemented however).
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
..
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lphi classes?
Addendum: FPC's XML library probably also comes from a time when Delphi
didn't have a standard library to deal with XML.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ally meant AnsiString and was a 1-byte per element container.
You could always use RawByteString or a string with a fixed codepage
instead if plain AnsiString.
Just declare a type alias so that you can keep it compatible with older
Delphi versions as well.
Regards,
Sven
_
he index which *should* work with
strings as well, though I don't know whether it always did... If that
doesn't work simply write two overloaded inline functions that return the
index of the first element depending on whether it's String or TBytes.
Regards,
Sven
___
Am 30.07.2017 12:37 schrieb "Bo Berglund" :
>
> On Sun, 30 Jul 2017 09:33:59 +0200, Sven Barth via fpc-pascal
> wrote:
>
> >> The application was started back in Delphi7 times when "string"
> >> actually meant AnsiString and was a 1-byte
target) as the DFA can't handle that
correctly currently.
(though if one would restrict the assignments to the constructors itself
without any methods called by the constructor then we might be able to
implement that nevertheless, don't know what Java or other languages
w
ipermail/fpc-devel/2016-August/037328.html
>
> Yes, closures. Seems like development may be abandoned but it’s a good
idea none the less.
The development is still in progress, albeit slowly.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
he names of
the library will change with every version.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
a descendent of
TCustomIniFile.
>
> Class method TJSONIniFile.ConvertIni will convert an .ini file to a .json
file.
> It attempts to use native types when possible.
>
> ini2json example program included.
>
> One item scratched off my long TODO list ;)
Not entirely: "mak
Am 15.08.2017 11:57 schrieb "Michael Van Canneyt" :
>
>
>
> On Tue, 15 Aug 2017, Sven Barth via fpc-pascal wrote:
>
>> Am 15.08.2017 11:17 schrieb "Michael Van Canneyt" :
>>>
>>>
>>>
>>>
>>> On Mon, 14 Aug
On 14.08.2017 15:19, Fred van Stappen wrote:
> A concrete example.
>
> A Linux/FreeBSD fpc release was compiled using the pascal headers for
> libX11.so.6 and using symlink libX11.so >> libX11.so.6.0.8.
>
> This release was installed on a system (with libX11-dev too to
Am 17.08.2017 15:49 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:
>
> On 2017-08-16 18:14, Sven Barth via fpc-pascal wrote:
>>
>> As you can see the program will work correctly as long as the
>> libX11.so.6 file exists (even though that is
Am 17.08.2017 22:20 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:
>
> On 2017-08-17 16:52, Martin Schreiber wrote:
>>
>> Exactly. So why not use the SONAME in the Pascal binding unit instead to
use
>> the base name as Free Pascal curren
orks (on Linux at least). I used
that when I tested dynamic packages and wanted the linker to use
"librtl.ppl" instead of "librtl.so" ;)
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
html). The
compiler version I’m using is "Free Pascal Compiler version 3.1.1
[2017/04/22] for i386” but when I include SysUtils the methods are not
found.
>>
>> For example:
>>
>> var
>> str: string;
>> parts: TStringArray;
>>
>> parts := st
elper called TStringHelper (
https://www.freepascal.org/docs-html/rtl/sysutils/tstringhelper.html). The
compiler version I’m using is "Free Pascal Compiler version 3.1.1
[2017/04/22] for i386” but when I include SysUtils the methods are not
found.
> >>
> >> For example:
7;T* compare floating point numbers like that. Instead use SameValue()
from the Math unit which has an additional epsilon value (with a default
value) that defines a lower and upper bound from your desired value to
compare to.
Regards,
Sven
_______
#x27;t be exact.
Additionally Extended is not cross platform.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
e already :)
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
would have been a global function, now I can also do a helper with
a method.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Is this compatible with Delphi?
Interface helpers are only supported by FPC. But the other helpers (class,
record, primitive types) are Delphi compatible.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> >
> > TDayHelper = record helper for TDay
> > function AsByte: Byte;
> > function ToString: string;
> > end;
>
> I didn't know that helpers could be used in enums too. Great.
Helpers for primitive types are supported since 3.0.0.
Regards,
ones are in scope. Also one can cheat a bit by having one's own
helper inherit from another helper of the same type ;)
Though I should mention that it's on my list to implement support for
multiple helpers. I just need to be sure about the resolution rules :)
Regards,
Sven
___
per".
> It's like default methods in Java(?) that we have code inside an
interface...
I don't know about Java, but the C# equivalent would be extension methods.
And yes, that's the point: the implementation is not part of the interface
implementer, but the user of the interfac
, but FPC supports
it also for record and type helpers.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
rsistsFile;
> P.Save(Link, True);
> end;
> end;
>
And I just noticed: it's "type helper" if you want to extend an interface,
not "record helper" ;)
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 23.08.2017 19:57, Marcos Douglas B. Santos wrote:
> On Wed, Aug 23, 2017 at 2:45 PM, Sven Barth via fpc-pascal
> wrote:
>> Am 23.08.2017 19:39 schrieb "Marcos Douglas B. Santos" :
>>>
>>> Wait a minute. Now I realize that procedure IShellLinkHelper.Sa
On 23.08.2017 20:38, Marcos Douglas B. Santos wrote:
> On Wed, Aug 23, 2017 at 3:25 PM, Sven Barth via fpc-pascal
> wrote:
>> On 23.08.2017 19:57, Marcos Douglas B. Santos wrote:
>>> Would we have any problem of memory leaks using Interface helper with
>>> COM int
ght want to check which register you can use for that
Note 3: I hope you keep the global and the assembler function in the same
unit, because inter-unit access to globals changes when dynamic packages
are enabled for a target
Regards,
Sven
___
fpc-pascal maill
Am 23.08.2017 02:16 schrieb "Paul Nance" :
>
> Turbo Pascal also had a BCD unit.
Free Pascal also has a BCD unit: FmtBCD. It provides a BCD type and
operators as well operator overloads.
Regards,
Sven
___
fpc-pascal maillis
;)
Note: FPC (and Delphi) has a single fixed point type which is Currency.
AFAIK it uses four digits after the comma and 28 in front of it.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/m
problems (in fact even 64-bit software can, but since Microsoft
declared it as deprecated for the 64-bit mode it might happen in the future
that it is no longer supported).
Regards,
Sven
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lis
Plase note that all non-Windows 64-bit systems have no problems with
enabling the FPU and even Windows needs to handle it due to 32-bit software
requiring it.
The only x86_64 OS we support that doesn't have Extended enabled (by
default) *is* Win64.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Am 24.08.2017 23:26 schrieb "Tomas Hajny" :
>
> On Thu, August 24, 2017 22:25, Ralf Quint wrote:
> > On 8/24/2017 2:18 AM, Sven Barth via fpc-pascal wrote:
> >>
> >> Am 23.08.2017 02:16 schrieb "Paul Nance" >> <mailto:pwna...@
but has a different size.
Regards,
Sven
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Am 26.08.2017 09:50 schrieb "Michael Van Canneyt" :
>
>
>
> On Sat, 26 Aug 2017, Sven Barth via fpc-pascal wrote:
>
>> Am 26.08.2017 07:25 schrieb :
>>>
>>>
>>> What about the BOOL issue..
>>>
>>> We know that Boolean
function()) then
>>> DoSomethingStupid;
>>>
>>> I don't think we should promote BOOL and friends too much. They are a
>> convenience (which IMHO should not have been introduced in the first
>> place).
>>>
>>> Promoting them to first-clas
On 26.08.2017 13:43, Michael Van Canneyt wrote:
>
>
> On Sat, 26 Aug 2017, Sven Barth via fpc-pascal wrote:
>
>>>
>>> I did read it.
>>>
>>> I think the programmer *must* worry about the details and must
>>> definitely
>>&
. But
there is also a Boolean64 and QWordBool ;)
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 27.08.2017 19:27, Marco van de Voort wrote:
> In our previous episode, Sven Barth via fpc-pascal said:
>> Am 27.08.2017 00:10 schrieb "Marco van de Voort" :
>>> The GTK headers also use a 0/1 boolean, and for that the boolean8/16/32
>>> types were create
crosoft ever bring out a 64-bit only OS they can simply disable the FPU
handling in their kernel (e.g. saving the FPU state during a context
switch) and then you are doomed and they did even warn you about this,
cause they declared the x87 as deprecated from the beginning on Win64.
Regards,
Sven
___
Am 29.08.2017 08:35 schrieb "Michael Schnell" :
>
> On 28.08.2017 08:04, Sven Barth via fpc-pascal wrote:I don't understand
why we will have no more the right to use it under x64 OS...
>>
>>
>> Because Microsoft declared it as deprecated. That means that s
Am 29.08.2017 11:10 schrieb "Anton Shepelev" :
>
> Hello, all.
>
> According to Borland's official language guide to
> Turbo Pascal 7.0,
>
> To be used as procedural values, procedures and
> functions must be declared with a 'far
Am 29.08.2017 14:26 schrieb "Anton Shepelev" :
>
> Karoly Balogh to Anton Shepelev:
>
> >>According to Borland's official language guide to
> >>Turbo Pascal 7.0,
> >>
> >> To be used as procedural values, procedures and
> >> f
modes,
but you need to do that explicitly, as there might be code breakages due to
this.
Regards,
Sven
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ss;
>
> base := TBaseClass.Create;
>
> base.DoIt; // CANT DO THIS
> base.hook.DoIt; // MUST DO THIS
Because you must use the interface and not the class instance:
=== code begin ===
var
base: TBaseClass;
hook: IHook;
begin
base := TBaseClass.Create;
hook := base;
hook.DoIt
with the
IHook interface. And this is what the implements feature is for.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ust an advanced variant of that in
that it allows you to use a complete class (though you're still able to
implement selected methods of the interface in the base class which aren't
delegated then).
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
:
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Implementing_Interfaces
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
But TInterfacedObject is a class isn’t it? Then you call FHook :=
THook.Create; so a I’d expect a Free(). What am I missing?
>
> type
> THook = class(TInterfacedObject, IHook)
> private
>procedure DoIt;
> end;
You're missing that FHook was declared as IHook, not THook.
Am 07.09.2017 03:48 schrieb "Ryan Joseph" :
>
>
> > On Sep 6, 2017, at 10:20 PM, Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> >
> > You're missing that FHook was declared as IHook, not THook.
> >
>
> In terms of memo
ch time you assign an array or
pass it to a by-value parameter or if you change a value (cause the
compiler/RTL needs to make sure that the reference to the array is unique
then).
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
On 11.09.2017 11:46, Ryan Joseph wrote:
>
>> On Sep 11, 2017, at 4:20 PM, Sven Barth via fpc-pascal
>> wrote:
>>
>> They're used for the reference counter of the array (or string or
>> interface). The reference counter changes each time you assign
Am 12.09.2017 06:54 schrieb "Ryan Joseph" :
>
>
> > On Sep 12, 2017, at 2:35 AM, Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> >
> > I've rechecked and the thing is as follows:
> > - the IncLocked call happens each tim
nd;
You could try to use the TEqualityComparer<> (or so) types from the
rtl-generics package (don't know in which unit exactly they are ^^') as
those can work with records without operator overloads.
Regards,
Sven
___
fpc-pascal maillist
Am 22.09.2017 12:56 schrieb "Ryan Joseph" :
>
> Got it, thanks guys.
>
> Btw, how can I know what the size in bytes these 2 options are?
You could use SizeOf(YourType) and output the values in a simple test
program :)
Regards,
Sven
____
roduced for Lazarus back before 1.0 or so.
Regards,
Sven
___________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
here some sort of flag for this? I'd be fine with just recompiling the
> resource file every time the unit is compiled, windres is fast enough...
Please report a bug.
Regards,
Sven
_______
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:
On 24.09.2017 17:15, Graeme Geldenhuys wrote:
> On 2017-09-24 13:50, Sven Barth via fpc-pascal wrote:
>> You are aware that FPC supports resources on basically all platforms?
>
> I know that. What I meant is that FPC only ships with a Windows resource
> compiler - ability to c
es not provide it.
Exactly.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
6Array have a special meaning or
> significance? I see things like that all the time, but never really
> understood why there are these designations.
"T" and "P" are simply the typical Hungarian notations in Pascal for
ordinary types and pointer types respectively.
>
On 24.09.2017 22:55, Graeme Geldenhuys wrote:
> On 2017-09-24 19:02, Sven Barth via fpc-pascal wrote:
>>> system if you want to use it as a linker, fpc does not provide it.
>> Exactly.
>
> Exactly my point! Why? Why does the official FPC installer for Windows
> give a
ven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
o
essentially implement a C-preprocessor-compatible preprocessor.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
stem like for memory management and properties. What do
you think? How do most FPC programmers handle memory these days?
The way to go in Object Pascal are reference counted interfaces (aka
COM-style interfaces). After all one should program against an interface
anyway and that reference counted i
r maybe it just never got fixed to handle
valid files with more than one period?
>
> Any thoughts on this?
I can't reproduce it here. Would you please provide a self contained, small
example plus information about the OS, filesystem and compiler as well as a
list of filenames to test with?
Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" :
> > And reference counting like in e.g. C++ "shared pointers", that can
wrap any
> > class, without any additional feature (in Pascal we may get this with
> > "management operators").
>
>
!');
> end.
>
>
> This builds fine using the stock fpc 3.0.2 with linux target. However,
the supposed cross-compiler seems to be trying to build for linux.
>
> $/usr/lib/fpc/3.1.1/ppcrossx64 /back/coredata/hello.pas
> Free Pascal Compiler version 3.1.1 [2017/10/06]
Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" <
char...@scenergy.dfmk.hu>:
>
> Hi,
>
> On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote:
>
> > > So where is my cross compiler ??
> > >
> > > Thanks for any help and suggestion
Am 07.10.2017 01:13 schrieb "James Richters" :
>
> I am wondering how to get the file size reported by the OS for a
particular file without opening it. I tried to search for ‘Free Pascal
File Size’ and variations but all I get are things like this:
>
>
>
> https://
Am 07.10.2017 17:15 schrieb "Marcos Douglas B. Santos" :
>
> On Fri, Oct 6, 2017 at 4:17 PM, Sven Barth via fpc-pascal
> wrote:
> > Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" :
> >> > And reference counting like in e.g. C++ "shar
Am 07.10.2017 21:08 schrieb "Paul Nance" :
>
> I've always (since Turbo Pascal and now with Free Pascal) used FILESIZE.
It works like a charm.
> Even if you do it in assembly its done the same as its done in pascal.
FileSize() has the disadvantage that you need to open t
cript 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.free
ugh
sometimes intersecting team.
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
801 - 900 of 5821 matches
Mail list logo