Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Kapibara Pas
Thanks for the suggestions and workarounds. I made a bugreport, with sample project: http://bugs.freepascal.org/view.php?id=31234. In the bugreport is a workaround made by Geepster. It may be helpful for finding out how to fix this. Roger -Original Message- From: Luiz Americo

Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Lars
On Sun, January 15, 2017 7:04 am, Bart wrote: > On 1/15/17, Mattias Gaertner wrote: > > >> Note: >> You can use the Lazarus IDE macro $(FPCVer) in the "FPC source >> directory". Then you only need to switch the compiler path. > > This requires the same directory layout

[fpc-pascal] FPC run (run program after compile)

2017-01-15 Thread Lars
Is there a way to compile a program with fpc at the command line and run it right after? Something like fpc run project1.pas -Fu../ The only thing I could find was InstantFpc, which may serve similar purpose but not really the same as what I was thinking... For some reason (I may remember

Re: [fpc-pascal] Bls: Changes to fpWeb...

2017-01-15 Thread Michael Van Canneyt
On Sun, 15 Jan 2017, Marcos Douglas B. Santos wrote: On Sun, Jan 15, 2017 at 7:45 AM, Michael Van Canneyt wrote: On Sun, 15 Jan 2017, Mr Bee wrote: Will this new fpWeb be included in the next FPC release? v.3.2? v.3.0.2? Thank you. It will not be in 3.0.2; That

Re: [fpc-pascal] Bls: Changes to fpWeb...

2017-01-15 Thread Michael Van Canneyt
On Sun, 15 Jan 2017, Mr Bee wrote: Will this new fpWeb be included in the next FPC release? v.3.2? v.3.0.2? Thank you.  It will not be in 3.0.2; That is already at RC1. It probably will end up in the release following that; This can be 3.0.4 or 3.2.0...

Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Mattias Gaertner
On Sun, 15 Jan 2017 13:36:14 +0100 Bart wrote: > On 1/15/17, Kapibara Pas wrote: > > > What has happened? Is it possible to get it to work again without going back > > to Lazarus 1.4 and fpc 2.6.4? > > As a workaround you can switch back to fpc

Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Bart
On 1/15/17, Kapibara Pas wrote: > What has happened? Is it possible to get it to work again without going back > to Lazarus 1.4 and fpc 2.6.4? As a workaround you can switch back to fpc 2.6.4 for the time being. Lazarus 1.6 branch should work with the 2.6.4 compiler. Just

Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Luiz Americo Pereira Camara
2017-01-14 21:44 GMT-03:00 Kapibara Pas : > Hi there, > > > What has happened? Is it possible to get it to work again without going > back to Lazarus 1.4 and fpc 2.6.4? > A bug report with a sample project showing the crash would be helpful Luiz

Re: [fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Bart
On 1/15/17, Mattias Gaertner wrote: > Note: > You can use the Lazarus IDE macro $(FPCVer) in the "FPC source > directory". Then you only need to switch the compiler path. This requires the same directory layout for both compilers/sources. Typically the bindled

[fpc-pascal] PascalScript broken by FPC 3.0 ?

2017-01-15 Thread Kapibara Pas
Hi there, The pascalscripts that worked fine with lazarus 1.4 and fpc 2.64 are crashing when I try to run them in apps compiled with laz 1.6.2 or trunk. I get a SIGSEG attempting to call the constructor of any class and suspect it has to do with FPC version 3.0. Using latest fpc trunk didn't

Re: [fpc-pascal] Bls: Changes to fpWeb...

2017-01-15 Thread Marcos Douglas B. Santos
On Sun, Jan 15, 2017 at 7:45 AM, Michael Van Canneyt wrote: > On Sun, 15 Jan 2017, Mr Bee wrote: > >> Will this new fpWeb be included in the next FPC release? v.3.2? v.3.0.2? >> Thank you. > > > It will not be in 3.0.2; That is already at RC1. > > It probably will end up

Re: [fpc-pascal] Free Vision etc. form editor

2017-01-15 Thread Mark Morgan Lloyd
On 14/01/17 20:00, Lars wrote: On Fri, January 13, 2017 5:35 am, Mark Morgan Lloyd wrote: I've just come across http://forum.lazarus.freepascal.org/index.php?topic=18998.0 which was asking about a dialog(ue) editor for Turbo/Free Vision. The links it cites are dead, but the author's page is

Re: [fpc-pascal] Bls: Changes to fpWeb...

2017-01-15 Thread Marcos Douglas B. Santos
On Sun, Jan 15, 2017 at 12:00 PM, Michael Van Canneyt wrote: >> But it will work if we try to use this new package with the current FPC >> version? > > > Yes. OK, thanks. Marcos Douglas ___ fpc-pascal maillist -

[fpc-pascal] How to tell if file is locked, i.e. FileOpen in sysutils

2017-01-15 Thread Lars
The fileopen function returns -1 on error, but there is no way to tell if the error is because of a lock, or another issue opening the file? I'm interested in finding out specifically if a file is locked, as it would be useful for example in a wiki to say to the user "File is locked by another