Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread Bart via fpc-pascal
On Wed, Mar 25, 2020 at 10:30 PM wrote: > what? you don't like laughing bearded guys? LUL means penis (and I'm putting it nicely here) in Dutch. Google translate translates it as either asshole (anatomically rahter incorrect), cock, or prick. -- Bart __

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread Sven Barth via fpc-pascal
schrieb am Mi., 25. März 2020, 19:48: > On 3/25/20 2:17 PM, Sven Barth via fpc-pascal wrote: > > wkitt...@windstream.net schrieb am Mi., 25. März 2020, 18:47: > > > >> hummm... ok, so how to you get a constant to be a byte and storing 7 > for the > >> decimal value? > > > > > > The compiler norma

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread wkitty42
On 3/25/20 5:06 PM, Bart via fpc-pascal wrote: On Wed, Mar 25, 2020 at 7:48 PM wrote: [wargames] seems like the winning move is to not play the game. [/wargames] LUL LUL ?? What does that stand for? it is the LOL emoticon with a beard... i've gotten to where i use it all the time instead

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread Bart via fpc-pascal
On Wed, Mar 25, 2020 at 7:48 PM wrote: > [wargames] seems like the winning move is to not play the game. [/wargames] > LUL LUL ?? What does that stand for? Better not say that to someone who speaks Dutch (like me) ;-)) -- Bart ___ fpc-pascal mailli

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread wkitty42
On 3/25/20 2:17 PM, Sven Barth via fpc-pascal wrote: wkitt...@windstream.net schrieb am Mi., 25. März 2020, 18:47: hummm... ok, so how to you get a constant to be a byte and storing 7 for the decimal value? The compiler normally uses the smallest possible type that can represent the value.

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread Howard Page-Clark via fpc-pascal
On 25/03/2020 17:46, wkitt...@windstream.net wrote: On 3/24/20 6:58 PM, Sven Barth via fpc-pascal wrote: wkitt...@windstream.net schrieb am Di., 24. März 2020, 18:37: you should figure out why typed constants are not being allowed/used in your setup... Typed constants can not be used to init

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread Sven Barth via fpc-pascal
schrieb am Mi., 25. März 2020, 18:47: > On 3/24/20 6:58 PM, Sven Barth via fpc-pascal wrote: > > wkitt...@windstream.net schrieb am Di., 24. März 2020, 18:37: > > > >> you should figure out why typed constants are not being allowed/used > >> in your setup... > > > > Typed constants can not be use

Re: [fpc-pascal] Range check error warning.

2020-03-25 Thread wkitty42
On 3/24/20 6:58 PM, Sven Barth via fpc-pascal wrote: wkitt...@windstream.net schrieb am Di., 24. März 2020, 18:37: you should figure out why typed constants are not being allowed/used in your setup... Typed constants can not be used to initialize constants. hummm... ok, so how to you get a

Re: [fpc-pascal] Chaining method calls

2020-03-25 Thread George Bakhtadze via fpc-pascal
Hi. You can have such ID if you will use generics: {$mode Delphi} type TBase = class public function AndThis: T; end; function TBase.AndThis: T; begin result := self as T; end; type TMyClass = class; TMyClass = class (TBase) end; var c: TMyClass; begin c := TMyClass.Creat