Re: [fpc-pascal] Troubles with SQLDBRESTBridge

2019-07-01 Thread Sven Barth via fpc-pascal
Am 01.07.2019 um 23:18 schrieb Michael Van Canneyt: By the way: is it correct that the sqldbrestdataset currently does not support editing/inserting/deleting entries? Do you plan to change this? Ehm, no, of course it is supposed to support that. It would not be much good if it didn't :-)

Re: [fpc-pascal] Troubles with SQLDBRESTBridge

2019-07-01 Thread Michael Van Canneyt
On Mon, 1 Jul 2019, Sven Barth via fpc-pascal wrote: Am 24.06.2019 um 09:30 schrieb Michael Van Canneyt: With the sample module, I tested all possible cases: I updated both FPC and Lazarus and also tested the sample module. However those variants BasePath empty don't work. I get an

Re: [fpc-pascal] Troubles with SQLDBRESTBridge

2019-07-01 Thread Sven Barth via fpc-pascal
Am 24.06.2019 um 09:30 schrieb Michael Van Canneyt: With the sample module, I tested all possible cases: I updated both FPC and Lazarus and also tested the sample module. However those variants BasePath empty don't work. I get an exception at line 2053 of sqldbrestbridge.pp. It seems that

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread Bo Berglund
On Mon, 1 Jul 2019 13:37:54 -0400, "James Richters" wrote: >For X := 1 to 10 do > Begin > If somethingmakesmewanttoexit then >X:=10; > If somethinmakesmewanttoskipthenextthing then > Inc(X); > End; Why not: For X := 1 to 10 do Begin If

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread Michael Van Canneyt
On Mon, 1 Jul 2019, James Richters wrote: Thanks for the link to the list of mode switches. I'm still trying to figure out how I can best restructure.. I'll probably need to re-write a bunch of stuff to make things all work in the same mode. I'm thinking of making it all work in fpc

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread James Richters
Thanks for the link to the list of mode switches. I'm still trying to figure out how I can best restructure.. I'll probably need to re-write a bunch of stuff to make things all work in the same mode. I'm thinking of making it all work in fpc mode. Do any of these happen to allow modifying a

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread Michael Van Canneyt
On Mon, 1 Jul 2019, James Richters wrote: I see how {$ModeSwitch } work now.. I have far more code that only works in {$Mode TP} so I supposed I'll have to just re-write things to stay compatible with that. Is there a {$Modeswitch } feature I can turn on to allow the % to specify binary

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread James Richters
I see how {$ModeSwitch } work now.. I have far more code that only works in {$Mode TP} so I supposed I'll have to just re-write things to stay compatible with that. Is there a {$Modeswitch } feature I can turn on to allow the % to specify binary numbers when in {$Mode TP}? James

Re: [fpc-pascal] Changing compiler modes

2019-07-01 Thread Michael Van Canneyt
On Mon, 1 Jul 2019, James Richters wrote: I am trying to merge a bunch of my pascal units into a single unit, to avoid circular references. This is quite a challenge because they are not all compiled with the same mode. Some units use {$Mode TP} And I can't compile some of the procedures

[fpc-pascal] Changing compiler modes

2019-07-01 Thread James Richters
I am trying to merge a bunch of my pascal units into a single unit, to avoid circular references. This is quite a challenge because they are not all compiled with the same mode. Some units use {$Mode TP} And I can't compile some of the procedures from that unit in other modes because I use