On 05/09/2012 01:06 PM, Mark Morgan Lloyd wrote:
microc...@zoho.com wrote:
There are no binaries provided by my distribution. It's Slackware!
But the
question was, was it really necessary to use such a recent glibc?
And what, pray, is wrong with Slackware? :-)
Most of the SPARC systems arou
I went here:
http://www.satellite-calculations.com/TLETracker/SatTracker.htm
It had the TLE for Galaxy 15 as follows:
GALAXY 15
1 28884U 05041A 10133.62484064 .0085 0-0 1-3 0 8291
2 28884 000.1391 078.0756 0002640 331.8937 274.1784 01.00285599 16790
And did these calculations
Seth Grover wrote:
I appreciated Henry's comment regarding my last question (generating a
.lib file from a FPC-generated for linking with VC++). I ended up
using implib (http://implib.sourceforge.net) to generate the .def file
with dll2def.exe and then fasm.exe to create the .lib file from that,
On 2/17/2010 4:46 AM, Jonas Maebe wrote:
It is only sleeping.
Pining for the fjords?
(Sorry, couldn't resist.)
Jeff.
--
I haven't smoked for 3 years, 6 months and 1 day, saving $5,767.05 and
not smoking 38,447.00 cigarettes.
___
fpc-pascal maill
John Youngquist wrote:
I would like to port the program as is, but eventually get a PCI 48
I/O line card to escape
the ISA bus and also talk USB as well. Getting it to run on later
versions of Windows might
be useful. This program controls a machine on a single purpose
computer. Windows is used
Holger Bruns wrote:
I need to read
and write every register of that UART as explained in the National
Semiconductor databook, register by register, address by address.
If I may ask, just what sort of application are you developing that
needs such complete and total access to the UART? Using
Holger Bruns wrote:
Under the bottom line, the result is just the same. You need to become
a superuser on a linux system, if you want to compile source code for
accessing ports directly, regardless of the compiler or any other tool.
All modern OS's have this restriction. Even on Windows, after
Graeme Geldenhuys wrote:
The first item is 31bit and the second item is 1 bit. Does FPC support
a record structure that can define bit level sizes?
I've done this kind of thing quite a bit in the past. Usually, I define
a "raw" version and a "clean" version, and write two routines to conver
Graeme Geldenhuys wrote:
On 23/10/2009, Jeff Wormsley wrote:
That's dangerous, though, if your magic number's two bytes aren't printable
That should never be a problem for my tool though. The tool I am
writing is specific to the INF help format. The
Graeme Geldenhuys wrote:
Hi,
I'm reading in a WORD (2 bytes) from a binary file. I can display the
Hex format of that value without a problem, but I would also like to
display the String value of that WORD variable. It's the first 2 bytes
of a file, which contains the "magic number" of the file
Graeme Geldenhuys wrote:
Any programmer worth hiring should find it relatively easy to switch
to another language. Or and least become proficient in it in a
relative short period of time. The basic principles apply to all
languages, it's just the tool-chain and syntax that differs.
I certain
Mark Emerson wrote:
Most people aren't interested in truth (e.g. that Pascal is a vastly superior
language in almost every respect). They are instead interested in what is
popular, politically correct, and has been artfully propagandized into their
gullible, small minds from a source they beli
yu ping wrote:
Program prog1
use unit1
myObj=class
private
public
.
end;
---
unit unit1
..
like above, can i access myObj in unit1?
Much better to have something like this:
Program prog1;
uses CommonStuff, unit1;
..
Perhaps I missed it, but are you sure you declared the
functions/procedure in the library you are using cdecl? That would
explain a runtime error instead of linker error.
Jeff.
Guillermo Martínez Jiménez wrote:
Link time error, I guess. But according to your original message, the nam
Mark Morgan Lloyd wrote:
IF cells[2, dateTime] = /(\d\d)\/(\d\d)\/((\d\d)?\d\d)\s.*/i THEN BEGIN
Not only do I have no idea what the above code does, I have no desire to
find out! Talk about cryptic.
Jeff.
--
I haven't smoked for 2 years, 4 months and 5 days, saving $3,864.50 and
not smoki
Jonas Maebe wrote:
... the assembler can perform for different ARM architectures (except
for some small THUMB things, but FPC doesn't generate THUMB code).
I'd wondered about THUMB support. That means no STM-32 processors, as
THUMB code is all they execute. Bummer, as they are nice and extre
Well, the (inefficient / multiplatform - choose one) way is to not store
data as binary, instead using something like XML. Probably not an
option, but there will be a tradeoff and a penalty no matter what. One
way would be store the data in the endianness of the consistently slower
platform (
Vinzent Höfler wrote:
And to be honest, there aren't many cases where you really can ignore the
result of the function and keep the good conscience of having it done right. If
a function in Pascal returns something it's usually useful.
There are many cases like that, at least in my experien
Vinzent Höfler wrote:
I just grep'ped the actual sources of the project (about 70K LOC) and
I found exactly four occurences of my "if Ignore_Result() then
{null};" pattern with FPC runtime routines. There are others, but
those routines access hardware and on some occasions I really need to
ig
Felipe Monteiro de Carvalho wrote:
On Tue, Aug 12, 2008 at 2:34 PM, Jeff Wormsley <[EMAIL PROTECTED]> wrote:
Does this support MIPS based CE devices, or only ARM?
Most people are using ARM, and that's what the pre-compiled compiler is for.
Some people expe
Felipe Monteiro de Carvalho wrote:
For Windows CE the best is using the lastest add-on snapshots:
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_snapshot_add-on_installer
The commonly used solution is cross-compiling from desktop windows.
Does this support MIPS based CE
Marco van de Voort wrote:
I don't understand how this can work, how can I have a compiletime solution
for a runtime problem?
procedure mystringproc (s:FlorianUnicodeString);
begin
if encodingof(s)=utf-16 then
begin
// utf-16 code here with shiftsize 2 [] needed
end
else
b
Marco van de Voort wrote:
5- Is it OK to designate serial ports by COMx fow Windows and /dev/ttySx
for Linux?
No, since e.g a serial port on some other device might have a different
state. And strictly, this is even possible for Windows. Always keep naming
configurable and
Michael Van Canneyt wrote:
Sorry, Same problem. I'm also using kchmviewer 3.1, as Mattias...
Perhaps some path is hard coded into the files, and it exists for Andrew
(it's his system, after all) and doesn't for anyone else.
Jeff.
--
I haven't smoked for 1 year, 3 months and 2 weeks, saving $2
S. Fisher wrote:
Regular expressions are used by vi and emacs; in fact, any editor that
doesn't let you do a regex search is a joke. (Even some microsoft
applications understand regexes.) So everyone who programs should
learn regular expressions.
Regular expressions are also used by grep, an
JK Smith at Grid-Sky wrote:
At any rate, I've found that while you or I might be very diligent at
explicitly freeing resources, on a complicated system, some programmers
simply are not, and we have to work with these programmers.
The point is, the traditional software warranties won't be toler
What happens if you redefine your program as follows?
program utftestbom;
{$mode objfpc}{$H+}
uses SysUtils;
const MyStr: UTF8String = 'Texto ł ñ ø ß á';
var
i: Integer;
begin
WriteLn('Printing string values');
WriteLn('Length: ', Length(MyStr));
for i := 1 to Length(MyStr) do
Write(
L505 wrote:
| Note that this is not allowed on Windows XP if your application is in
| the Program Files directory. Applications are not allowed or should not
| write to their application directory due to security restrictions.
|
| --
| Sly
Really? So MS encourages you to write everything to th
28 matches
Mail list logo