[fpc-pascal] Blind Users

2016-10-25 Thread BobJ
Have any blind programmers managed to make use of the Lazarus IDE or the FPC 
command line to write interactive software that will run on the Windows7, 
64-bit platform?

I am blind, a retired software developer now able to make use of two 
screen-reading software packages, neither of which I have been able to 
successfully access Lazarus for GUI programming or the output of executables 
created with the Lazarus command-line interface.

Any guidance will be appreciated.

Bob

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

Re: [fpc-pascal] C translation question

2016-10-25 Thread José Mejuto

El 25/10/2016 a las 3:56, Lars escribió:


If you want to test it I can provide .exe or source code, but do not
expect it to translate anything far than some trivial functions.

Do you have github account... or sourceforge, I think a few other people
may find it useful...


Hello,

No sorry, no github, sourceforge (maybe yes, I can not recall).

Anyway I had sent you off the list a link to download my current 
implementation, test it and if you think it could be useful for anybody 
you can publish it or maybe I should open a github account :-)


Let me know if you was able to compile it. Thank you.

--

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


Re: [fpc-pascal] Test file mode question

2016-10-25 Thread Bart
On 10/25/16, Rolf Grunsky  wrote:

> If (SFile.Mode = fmClosed) Then Rewrite(SFile);

Maybe cast SFile to TextRec(SFile)?

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


[fpc-pascal] Test file mode question

2016-10-25 Thread Rolf Grunsky

I am trying to put together a short program to build a script file.

I declare the file as:

Uses sysutils;
{$H+I-}
Var
SFile : Text;

I then assign a name to the file :

Assign(SFile, SName);

Now, I only want to create the file if some conditions are met. Since 
this is in a loop I thought I could do this:


If (SFile.Mode = fmClosed) Then Rewrite(SFile);

But this line gives the error

Error: Illegal qualifier

and the location in the line is at the 'o' in Mode.

I vaguely remember doing things like this in Turbo/Borland Pascal many 
years ago. It should be possible to do this with Free Pascal?


I'm using
Free Pascal Compiler version 2.6.4 [2014/03/03] for x86_64 on Linux.

What am I doing wrong?

thanks
Rolf Grunsky
--
   TRUTH in her dress finds facts too tight.
   In fiction she moves with ease.
   Stray Birds by Rabindranath Tagore
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal