Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-22 Thread Stephen Chrzanowski
Now we're getting into the field of personal preferences, and EVERYONE and their neighbor on the internet is going to defend their personal preferences like a rabid dog over a piece of meat. Looking at a screen all day long, comfortably, is ultimately up to the person sitting in the chair at that

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-21 Thread Stephen Chrzanowski
heh.. Not really, as GMail uses variable width fonts by default. ;) Imma gunna feex dat. On Mon, Nov 21, 2016 at 11:05 AM, Jürgen Hestermann < juergen.hesterm...@gmx.de> wrote: - > function FileCompareName (Datei1,Datei2 :

Re: [fpc-pascal] Underscores in numerical literals - grouping

2016-11-21 Thread Stephen Chrzanowski
I like the concept, but, if I'm using a constant that goes beyond the millions, I'd add a comment to what the number is in US format, and tag on what exactly it means, or make the variable name itself mean something. Because reading const maxLongint = $7fff; or const maxLongint = 2147483647;

Re: [fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-27 Thread Stephen Chrzanowski
If you can, change the app so that it'll also output what parameters and calls are being passed in as well. Drop in a debug statement or two on entrance and exit to any and all functions within the thread. Then keep an eye on the logs. Check this thread on Stack Overflow; http://stackoverflow.c

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-24 Thread Stephen Chrzanowski
Other than that one option page being blank, the app runs and installs fine under a brand new VM of Win7 Pro without SP1. Going to check to see if applying SP1 fixes that one option form though. On Wed, Aug 24, 2016 at 8:25 AM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrot

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-23 Thread Stephen Chrzanowski
FULLY understanding that this forum is for FPC and not Delphi/Embarcadero, has anyone installed Berlin, gone into Tools> Options> Environment Options> Form Designer and see NO OPTIONS show up? Stuff like the grid size, the toggling the Embeded Designer, etc should be here but I get no options. Tha

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-23 Thread Stephen Chrzanowski
Nice. Thanks. Pretty much gave up on Delphi due to costs. For a single developer who doesn't make money off his programs, this'll be nice. Side note: So, as *none* of you know, I recently moved from "Tech Support" to another position within the company I work for. I look at what Berlin offers,

Re: [fpc-pascal] Single threaded application on multicore CPU

2016-06-22 Thread Stephen Chrzanowski
Everything has a cost. But swapping CPU threads isn't as costly as a fried CPU. Keeping the CPU cool at all costs is better than having a hotspot on the die which COULD damage the heat sink. The computing cost of swapping CPUs is probably close to zero. Your CPU only has so much on-die memory t

Re: [fpc-pascal] Sqldb - How to pass an array of values as a param to be used with SQL IN operator?

2016-04-10 Thread Stephen Chrzanowski
The problem with that Tony is that the the bind might make :myparam a string, so you'll be doing a 1-integer to 1-string comparison, which won't give you any results. Essentially you'll be asking for a list of results whos field is equal to "1,2,3,4", not a list of results in which the field in qu

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Stephen Chrzanowski
Nevermind... Ninja'd. On Wed, Feb 10, 2016 at 10:36 AM, Stephen Chrzanowski wrote: > Did you output the iSQL string to a console or a text file or even a > message box to verify that what you're passing in is actually what you > expect? > > If the engine is coming

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Stephen Chrzanowski
Did you output the iSQL string to a console or a text file or even a message box to verify that what you're passing in is actually what you expect? If the engine is coming back with a problem "Near Select" then there is something wrong either before the string, or after Select. GetTableName may b

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-01-31 Thread Stephen Chrzanowski
Mostly code readability, but, I've been writing my own functions to do that kind of thing for years. Same with the BETWEEN function. On Mon, Feb 1, 2016 at 1:03 AM, Ralf Quint wrote: > On 1/31/2016 7:14 AM, Vojtěch Čihák wrote: > >> >> Hi, >> >> what is difference in produced assembler between

Re: [fpc-pascal] Documentation example error

2016-01-26 Thread Stephen Chrzanowski
I looked at the example, and it isn't compilable by my eye ball, however, the idea I think is to replace that not found class def'n with something you already know about. You could possibly just replace it with a tedit or tlistbox or something. On Mon, Jan 25, 2016 at 11:32 AM, Michael Van Canney