On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
> a way to convert the
> option list to TConsoleApplication's argument handling so that one doesn't
> have to declare that twice.
Oh, I really like that idea. I'll make sure to include both of those mentioned.
Regards,
Graeme
--
fpGUI T
On 2020-11-20 09:32, Graeme Geldenhuys via fpc-pascal wrote:
On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
a way to convert the
option list to TConsoleApplication's argument handling so that one
doesn't
have to declare that twice.
Oh, I really like that idea. I'll make sure to incl
Hi,
I also made such a thing:
var optionsreader: TCommandLineReader;
begin
optionsreader := TCommandLineReader.create;
optionsreader.declareFile('file', 'The file to be processed');
optionsreader.addAbbreviation('f');
optionsreader.declareFlag('help', '');
optionsreader.addAbbreviati
That sounds like a great idea!! Yes I know how tedious it is.Here are some
things I like to do.
I always use color on my console app text… Yes it makes it more tedious
because I have to have a whole bunch of textcolor() commands, but it makes it
more readable and useful. I also like to ce
On 20/11/2020 1:29 pm, James Richters via fpc-pascal wrote:
> so as you can see, my #1 item in my wish list is the ability to assign colors,
Some good examples there. :-) I wouldn't want to guess how long it takes to
create
those boxed versions. Wow!
At work, our automated CI pipelines run on Li
On Fri, Nov 20, 2020 at 4:38 PM Graeme Geldenhuys via fpc-pascal
wrote:
> We often have color output and
> full Unicode support - so we can output color and emojis to highlight certain
> success
> or error states in the output. It would be nice to incorporate that into
> command
> line help out
Hi,
I also have a similar library for that purpose:
https://github.com/AmirAavani/my-units/blob/master/General-Purpose-Units/ParameterManagerUnit.pp
This library expects "ValidArguments.inc" file whose content is like the
following:
ValidArgumentsInfo : array of AnsiString = ('--InputFile:A
Bart via fpc-pascal schrieb am Fr., 20.
Nov. 2020, 19:11:
> On Fri, Nov 20, 2020 at 4:38 PM Graeme Geldenhuys via fpc-pascal
> wrote:
>
> > We often have color output and
> > full Unicode support - so we can output color and emojis to highlight
> certain success
> > or error states in the output
On Fri, Nov 20, 2020 at 7:21 PM Sven Barth via fpc-pascal
wrote:
>> You know that fpc trunk now supports coloured output of the compiler
>> (messages)?
>
>
> Only on *nix and those versions of Windows 10 that support VT100 codes.
>
I know, and there he can see how this capability is detected, h
On 20/11/2020 6:51 pm, Bart via fpc-pascal wrote:
> I know, and there he can see how this capability is detected, hence my
> reference to the compiler.
Thanks, that's good to know. I'll definitely give it a try too.
Regards,
Graeme
___
fpc-pascal mai
A 32 bit freepascal program on a 32 bit Linux Debian system is working
properly. It uses fpmmap for getting the adress of a kms framebuffer.
The same 32 bit program on a 64 bit Linux Debian system *** is not working.
When it comes to the fpmmap it gives an error:
Sys_EINVAL
One of the record
It would seem C handles this at compile time with a define.. mapping mmap to
mmap64. Which would almost seem to imply you'd end up with a 32 bit binary that
would only work on 64 bit systems. I'm not really sure how this would work for
Pascal. You could start by looking in the file listed in the
12 matches
Mail list logo