Re: [fpc-pascal] Oberon-0

2023-04-20 Thread Ralf Quint via fpc-pascal
On 4/19/2023 7:46 PM, Adriaan van Os via fpc-pascal wrote: Ralf Quint via fpc-pascal wrote: What does Oberon and Forth have to do with the FreePascal compiler? 😕 1. Niklaus Wirth 2. Strong resemblance between Oberon and Pascal 3. An early version of his book Compiler Construction used Pascal

Re: [fpc-pascal] Is there a Pos() function for TBytes?

2023-04-20 Thread Alexey Torgashin via fpc-pascal
function PosInBytes(const Pattern: byte; Target: TBytes): integer; Let's use IndexByte standard procedure here? Maybe also in the 1st overloaded code too? Alex ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cg

Re: [fpc-pascal] Is there a Pos() function for TBytes?

2023-04-20 Thread Bo Berglund via fpc-pascal
On Thu, 20 Apr 2023 08:40:48 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >> I found this page: >> https://www.freepascal.org/docs-html/rtl/system/copy.html >> >> Here there is also reference to the other functions for strings: >> Delete (string and dyn array) >> Copy(string and d