Re: [fpc-pascal] FPC on Android tablets: ARM, x86_64

2018-05-11 Thread leledumbo via fpc-pascal
> Has anybody come across https://wiki.termux.com/wiki/Main_Page which I've
seen mentioned elsewhere? 

Yes, that's current terminal emulator in my android devices.
We can contribute just by making pull request here:
https://github.com/termux/termux-packages/pulls



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC on Android tablets: ARM, x86_64

2018-05-11 Thread Alexander Grotewohl
FPC for ARM works correctly with termux, but the program to generate 
fpc.cfg does not, requiring some manual configuration to get it to find 
the included units, etc.



On 05/10/2018 07:19 AM, Mark Morgan Lloyd wrote:
Has anybody come across https://wiki.termux.com/wiki/Main_Page which 
I've seen mentioned elsewhere?


It's supposedly a Linux environment into which one can install 
standard development tools etc.




___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC on Android tablets: ARM, x86_64

2018-05-11 Thread Mark Morgan Lloyd
Thanks both for that. I've got an Intel-based tablet here and might have 
a play.


On 11/05/18 15:15, Alexander Grotewohl wrote:
FPC for ARM works correctly with termux, but the program to generate 
fpc.cfg does not, requiring some manual configuration to get it to find 
the included units, etc.


On 05/10/2018 07:19 AM, Mark Morgan Lloyd wrote:> Has anybody come 
across https://wiki.termux.com/wiki/Main_Page which > I've seen 
mentioned elsewhere?>> It's supposedly a Linux environment into which 
one can install > standard development tools etc.>

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] testing if a float has a fractional part

2018-05-11 Thread Benito van der Zander

Hi,

after all these discussions about the frac function, what is the best 
way to test if there is a fractional part? That is the most common thing 
I use frac for


I have always used frac(x) = 0

Is that worse or better than int(x) = x  ?


Benito


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal