Re: [fpc-pascal] If vs case or something else?

2017-07-07 Thread James Richters
Thank you Sven and Stefan for the advice and examples, I really appreciate it. I'll to some time tests with some sample programs and figure out which way to go with it. It seems at first glance that the array of procedures would be more complicated, but the more I think about it, the more I th

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-07 Thread noreply
On 2017-07-06 09:13, Graeme Geldenhuys wrote: Ever had a problem like this? You have some SQL, say: SELECT Customers.CustomerName, Orders.OrderID FROM Customers FULL OUTER JOIN Orders ON Customers.CustomerID = Orders.CustomerID ORDER BY Customers.CustomerName; and you want to add that SQL to

[fpc-pascal] Super Large Integer Math Calculations

2017-07-07 Thread noreply
For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine, why can't the math be broken down into peices the way a human does it on paper, and then theoretically any number can be added and subtracted, even if it is beyond 32/64 bit? Example: type TSuperLargeInt = string; var i

Re: [fpc-pascal] Super Large Integer Math Calculations

2017-07-07 Thread Bart
On 7/7/17, nore...@z505.com wrote: > For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine, > why can't the math be broken down into peices the way a human does it on > paper, and then theoretically any number can be added and subtracted, > even if it is beyond 32/64 bit? > > Exam

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-07 Thread Felipe Monteiro de Carvalho
> Language features like this is what increases productivity. Indeed {$INCLUDESTRINGFILE file} looks like a great solution for this. Since we are talking about language features, after learning Java I think we could use in Pascal: 1> Default methods in interfaces (implementation multiple-inherit