On 06 Feb 2009, at 21:31, T.Guilleminot wrote:
t...@linux$ fpc Test_Try.pas
Free Pascal Compiler version 2.2.4rc1 [2009/01/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling Test_Try.pas
Test_Try.pas(8,4) Error: Identifier not found "try"
Test_Try.pas(8
Hello,
The simple program below fails when compiling (2.2.2-8 and 2.2.4rc1) :
program TEST_TRY;
uses SysUtils, strutils;
Function IsNumber(ValueToCheck:string):boolean;
begin
try
StrToInt(ValueToCheck);
IsNumber := true;
except
IsNumber := false;
end;
end;
begin
If IsNumber('123')
At 4:05 PM + 2/6/09, Frank Peelo apparently wrote:
>Ken G. Brown wrote:
>>Basically from point of sale system running on Macintosh, I needed
>>to pick up a file with a known name located in the same folder as
>>the application bundle, and process it for printing in a custom
>>format. This way i
On 06 Feb 2009, at 17:05, Frank Peelo wrote:
Ken G. Brown wrote:
Basically from point of sale system running on Macintosh, I needed
to pick up a file with a known name located in the same folder as
the application bundle, and process it for printing in a custom
format. This way it does not nee
Ken G. Brown wrote:
Basically from point of sale system running on Macintosh, I needed
to pick up a file with a known name located in the same folder as
the application bundle, and process it for printing in a custom
format. This way it does not need the file path hard coded in case
it is differe
Basically from point of sale system running on Macintosh, I needed to pick up a
file with a known name located in the same folder as the application bundle,
and process it for printing in a custom format. This way it does not need the
file path hard coded in case it is different on the different
Travis Siegel wrote on vr, 06 feb 2009:
On Feb 5, 2009, at 4:00 PM, Jonas Maebe wrote:
On 05 Feb 2009, at 22:52, Paul Nicholls wrote:
MyProgramFolder := ExtractFilePath(ParamStr(0));
This should hopefully get you the folder of the currently running program
from within the program (at least
So, as someone who only uses terminal apps written in fpc ( since
ibuilder isn't really that usable and writing interface generating
code is still beyond me despit trying for 4 years) Could you please
post a copy of a code segment that shows how you performed this little
marvel of finding f
On Feb 5, 2009, at 4:00 PM, Jonas Maebe wrote:
On 05 Feb 2009, at 22:52, Paul Nicholls wrote:
MyProgramFolder := ExtractFilePath(ParamStr(0));
This should hopefully get you the folder of the currently running
program
from within the program (at least under Win32 and Linux).
That is co