Re: [fpc-pascal] freepascal lz4 library?

2024-12-02 Thread wkitty42--- via fpc-pascal
On 12/2/24 10:39 AM, Wayne Sherman via fpc-pascal wrote: On Mon, Dec 2, 2024 at 4:16 AM wkitty42--- wrote: TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks contained inside a data file... These use the lz4 library with pascal bindings (.a and.o files which can be compi

[fpc-pascal] freepascal lz4 library?

2024-12-02 Thread wkitty42--- via fpc-pascal
TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks contained inside a data file... i've looked for information on how to create and open blocks of lz4 compressed data in data files... i haven't found much and i'm not sure i'm searching properly... asking uncle google

Re: [fpc-pascal] FPGUI on Windows

2024-11-30 Thread wkitty42--- via fpc-pascal
On 11/29/24 4:58 PM, James Richters via fpc-pascal wrote: Thought this should be a separate thread... sorry it if ends up confusing things. ummm... so you know: changing the subject does not create a new thread... posting a new message _/*without*/_ using (one of) the "Reply" buttons does...

Re: [fpc-pascal] Floating point question

2024-02-17 Thread wkitty42--- via fpc-pascal
On 2/16/24 9:57 AM, James Richters via fpc-pascal wrote: So you are saying when constant propagation is on, an expression should have a different result than with constant propagation off? The result of math when using constants MUST be the same as the result of identical math using variables

Re: [fpc-pascal] Legitimate use of for and break

2023-06-22 Thread wkitty42--- via fpc-pascal
On 6/21/23 10:54 AM, Steve Litt via fpc-pascal wrote: wkitty42--- via fpc-pascal said on Wed, 21 Jun 2023 08:07:59 -0400 On 6/20/23 10:54 PM, Steve Litt via fpc-pascal wrote: It was a long time ago, but if I remember correctly the Whitesmith Pascal and Turbo Pascal 2 and 3 had either break or

Re: [fpc-pascal] Legitimate use of for and break

2023-06-21 Thread wkitty42--- via fpc-pascal
On 6/20/23 10:54 PM, Steve Litt via fpc-pascal wrote: It was a long time ago, but if I remember correctly the Whitesmith Pascal and Turbo Pascal 2 and 3 had either break or continue. If I remember correctly, I first learned about those when learning C. i'm confused about your statement... first

Re: [fpc-pascal] Legitimate use of for and break

2023-06-18 Thread wkitty42--- via fpc-pascal
On 6/17/23 2:07 PM, Travis Siegel via fpc-pascal wrote: This is interesting, because it's the first time I've ever seen "break" as a valid command in pascal, and I've been using pascal since the mid/late 80s.  All kinds of dialects too, and I've never seen break as a keyword.  C, Python, Perl,

Re: [fpc-pascal] possible bug in blockwrite

2023-03-06 Thread wkitty42--- via fpc-pascal
On 3/5/23 12:54 PM, Travis Siegel via fpc-pascal wrote: [...] This reminded me that I used to do this exact thing under turbo pascal by using blockread/writes, and treating the text file as a binary one. This allowed me to make changes without having to rewrite the whole file, something even ini

Re: [fpc-pascal] A rather good blog post on Object Pascal that I thought you folks might enjoy

2023-01-20 Thread wkitty42--- via fpc-pascal
On 1/19/23 8:48 AM, Liam Proven via fpc-pascal wrote: So when they see something like, say, Lazarus as FOSS, it can amaze them. Which is one reason I wrote this: https://www.theregister.com/2022/12/16/gcc_13_will_support_modula2/ oh! i know a fellow in Australia who might be interested in th

Re: [fpc-pascal] A rather good blog post on Object Pascal that I thought you folks might enjoy

2023-01-19 Thread wkitty42--- via fpc-pascal
On 1/19/23 12:46 AM, Abuy via fpc-pascal wrote: Lazy post. Bad writing. Could be better. i don't know what you were expecting but it reads fine and good to me... thank you Liam for sharing it... also thank you for the FreeDOS interview shared on The Register! :) On 18.01.2023 11:36, Liam P

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-29 Thread wkitty42--- via fpc-pascal
On 12/29/22 6:40 AM, Michael Van Canneyt via fpc-pascal wrote: I also had to learn that there are programmers that have not seen a single SQL statement in their life :) i remember working on an inventory program using FoxBase from before m$ acquired it... i laid out the databases (now called t

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-28 Thread wkitty42--- via fpc-pascal
On 12/27/22 9:37 PM, Anthony Walter via fpc-pascal wrote: "I see there's a timer there.. but what starts it? What happens when it times out? How do I set the amount of time? Why is there even a timer at all? I don't know any of this." James, when you raised these questions are you saying that

Re: [fpc-pascal] iOS

2022-10-06 Thread wkitty42--- via fpc-pascal
On 10/6/22 9:40 AM, Hairy Pixels via fpc-pascal wrote: On Oct 6, 2022, at 7:12 PM, Adriaan van Os via fpc-pascal wrote: I would be pleased to know where I can find the latest iOS parsed headers and possibly a hello program. Also, the cross compilers for iOS don't seem to be available at

Re: [fpc-pascal] Getting Shift key with PTCCRT

2022-09-11 Thread wkitty42--- via fpc-pascal
On 9/10/22 10:57 AM, James Richters wrote: Thanks for the suggestion I think the syntax should be: type myKeyEvent = IPTCKeyEvent; Var myShiftStatus : boolean; myShiftStatus := myKeyEvent.Shift; i told you i probably had the syntax wrong :lol: but I get IPTCKeyEvent not found. I wonder if

Re: [fpc-pascal] Getting Shift key with PTCCRT

2022-09-10 Thread wkitty42--- via fpc-pascal
On 9/9/22 5:54 PM, James Richters via fpc-pascal wrote: I have some key sequences with PTCCRT.READKEY where I use a lower case letter to do one thing and an uppercase to do another, but if the Capslock is on, they do the wrong things. Is there a way I can check the condition of the shift key to

Re: [fpc-pascal] Access Violation When SetLength(DynArray, Value)

2022-09-08 Thread wkitty42--- via fpc-pascal
On 9/8/22 9:54 AM, Anthony Walter via fpc-pascal wrote: Please ignore this post. I fixed the issue. curious minds want to know: what was the fix? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* _

Re: [fpc-pascal] Union followed by Property does not compile !

2022-08-03 Thread wkitty42--- via fpc-pascal
On 8/2/22 5:12 AM, Michael Van Canneyt via fpc-pascal wrote: The variant part of a record must always come last. FWIW: is this documented somewhere easily found? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belo

Re: [fpc-pascal] Improved FPC JSON-RPC support

2021-12-29 Thread wkitty42--- via fpc-pascal
On 12/29/21 6:29 AM, Graeme Geldenhuys via fpc-pascal wrote: On 2021-12-29 11:22, wkitty42--- via fpc-pascal wrote: i'm sorry... what is WST? googling https://wiki.lazarus.freepascal.org/Web_Service_Toolkit thank you! :) -- NOTE: No off-list assistance is given without prior app

Re: [fpc-pascal] Improved FPC JSON-RPC support

2021-12-29 Thread wkitty42--- via fpc-pascal
On 12/29/21 4:54 AM, Michael Van Canneyt via fpc-pascal wrote: Translated to RPC: if you want speed, don't use HTTP or JSON. WST offers a binary protocol and plain TCP channel, it's bound to be much faster. i'm sorry... what is WST? googling for "wst binary protocol tcp ip channel" doesn't tur

Re: [fpc-pascal] Getting Last User Input reliably

2021-12-06 Thread wkitty42--- via fpc-pascal
On 12/5/21 11:10 AM, James Richters via fpc-pascal wrote: So the only thing I need to consider is times of longer than 49.7 days without user input... because if it was exactly 50 days, it would look like 0.3 days as the first rollover would be forgotten. To take care of this I can just check it

Re: [fpc-pascal] Writing Pascal Physics and Vectors

2021-10-16 Thread wkitty42--- via fpc-pascal
ummm... the source code is on the linked page ;) On 10/16/21 2:58 AM, Darius Blaszyk via fpc-pascal wrote: Can you put the link up to the source code please? On 16 Oct 2021, at 00:27, Anthony Walter via fpc-pascal wrote: [...] https://www.getlazarus.org/videos/physics/collisions/ Source co

Re: [fpc-pascal] Hello, new Pascal programmer. had a question!

2021-08-30 Thread wkitty42--- via fpc-pascal
On 8/30/21 8:52 AM, geneb via fpc-pascal wrote: [*] For those not aware of him, Jeff Duntemann was a huge figure "back in the day" in Turbo/Borland Pascal circles.  His books are phenomenal. i have and still use several of his books... i think the first one we got was "Complete Turbo Pascal" -

Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-12 Thread wkitty42--- via fpc-pascal
On 8/11/21 4:22 PM, Michael Van Canneyt via fpc-pascal wrote: On Wed, 11 Aug 2021, Bo Berglund via fpc-pascal wrote: echo "Downloading version $FPCVER of FPC" cd "$FPCDIR" svn co https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER # Get sources git clone https://gitlab.com/freepascal.org/

Re: [fpc-pascal] Will the size of an executable depend on the uses clause

2021-06-19 Thread wkitty42--- via fpc-pascal
On 6/19/21 9:40 AM, Bo Berglund via fpc-pascal wrote: Strange name of a function, though, is that needed? idk why the specific name was selected but you need some easy way to add leading zeros if you want them... some might complain about the conversion from integer to string, though... i've

Re: [fpc-pascal] FTP support gone - switch to HTTP ?

2021-05-17 Thread wkitty42--- via fpc-pascal
On 5/17/21 9:57 AM, Michael Van Canneyt via fpc-pascal wrote: I know that Firefox will follow suit really soon (if they haven't already). it has... in version 88.0.0 IIRC... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list w

Re: [fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

2021-05-12 Thread wkitty42--- via fpc-pascal
On 5/11/21 5:35 PM, Bo Berglund via fpc-pascal wrote: Of course, but as I said the basic mail sending is working I just have a hard time understanding how to add file attachments. It would not have worked unless the proper uses are added to the pas file and also the laz_synapse package set as req

Re: [fpc-pascal] Avoiding File conflicts

2021-01-05 Thread wkitty42--- via fpc-pascal
On 1/4/21 11:06 AM, Bart via fpc-pascal wrote: On Mon, Jan 4, 2021 at 3:19 AM James Richters via fpc-pascal wrote: I suspect that I happen to see the file is there and try to read it before the program that created the file is done writing it. What is the proper way to detect the file is in u

Re: [fpc-pascal] Selecting Records with a variable

2020-12-20 Thread wkitty42--- via fpc-pascal
On 12/19/20 10:02 PM, James Richters wrote: No, this is just a simplified example.. ok... The procedure will be working with dozens of records, so I need a way to call the procedure and specify which element of all the records to use... it will not be called for every element. in that case, t

Re: [fpc-pascal] Selecting Records with a variable

2020-12-19 Thread wkitty42--- via fpc-pascal
On 12/19/20 7:16 PM, James Richters via fpc-pascal wrote: Is there some syntax that would work to select the correct record based on the variable so I can avoid having all the If statements? do you need to show only one at a time or are you looping through and printing all of them each time?