Subj : RE: KityMail
To   : Marceline Jones
From : mark lewis
Date : Sun Mar 07 2021 06:34 am

 Re: RE: KityMail
 By: Marceline Jones to THOMAS KLOOS on Sun Mar 07 2021 18:06:00


MJ> According to him 25 years and 6 months equates to a 2970 seconds
MJ> unregistered delay.

no, that is incorrect... that's not "according to him"... that's a defect in the program from using too small a variable type to store the number of seconds in... effectively what you are seeing is modulo arithmetic also known
as rollover where the counter rolls over to the lowest end of the range when the value exceeds the maximum value...

|===================================================================|
|Type      Range                                       Size in bytes|
|===================================================================|
|Byte                         0 .. 255                             1|
|Shortint                  -128 .. 127                             1|
|Smallint                -32768 .. 32767                           2|
|Word                         0 .. 65535                           2|
|Integer            either smallint or longint           size 2 or 4|
|Cardinal                    longword                              4|
|Longint            -2147483648 .. 2147483647                      4|
|Longword                     0 .. 4294967295                      4|
|Int64     -9223372036854775808 .. 9223372036854775807             8|
|QWord                        0 .. 18446744073709551615            8|
|===================================================================|

back when the program was written Longword, Int64, and QWord likely did not exist... Byte and Word were the only numerical entities with no negative capabilities...

in short, it is simply numeric rollover due to using too small a variable type for the number being stored...


)\/(ark
--- SBBSecho 3.11-Linux
* Origin: SouthEast Star Mail HUB - SESTAR (1:3634/12)