[fpc-pascal] compiling code causes IDE to crash

Tony Pelton tpelton at gmail.com
Mon May 23 20:49:18 CEST 2005

hi all,

i'm new to Free Pascal.

wanted to throw this out to the group, see what they thought.

i was trying to port an algo written in 'C' to pascal.

i had written this much of the included function, and for some reason,
out of some reflex, i mistakenly tried to compile it, Alt+F9.

The 'fp.exe' IDE on Windows crapped out, with the IDE "flashing" and
information about how i needed to save my files as the IDE was going
to shutdown.

RADIUS_EARTH_KILOMETERS is a 'const : Double'.

is this something i should report to someone, and if so, who/where ?

-- SNIP --
{ lat lon need to be in radians }
function XSACalcFlatEarthCoord(lat,lon : Double) : TPoint2D;
Var lat0,lon0 : Double;
Var R1, R2 : Double;
Var e : Double = .001;
lat0 := 0.0;
lon0 := 0.0;


More information about the fpc-pascal mailing list