Templot logo

Templot Club Archive - Search Results

To search again, click the Back button in your browser.


Search results for: def_req

2 results found.

Did you mean: dave_irreg_diamond.png?
... , no guarantees are given. Please make backups, or better yet use a source control system. My red. From which I assumed that its purpose was to convert code written in Lazarus for use in Delphi. Also that it was 10 years old and likely to be out-of-date for modern versions of Lazarus. Also "make readable" is a joke for me, because having now tried it on a couple of files it does the exact opposite. Look at this for example then begin if p2.x= def_req then p2.X := rings[ring_list_index, 0]; if p2.y= def_req then p2.y := rings[ring_list_index, 1]; end else begin if p2.x= def_req then p2.X := screenx/ 2; // arbitrary.. if p2.y= def_req then p2.y := screeny/ 2; end; Unnecessary line-wrapping, thens and elses all mixed up, no idea which else goes with which then, and assignment operators lined up with conditional operators to cause maximum chances of misreading. Compare with my ...
Terms matched: 1  -  Score: 111  -  69k  -  URL: https://85a.uk/templot/archive/topics/topic_3564.php
... deeper and see how that was able to happen. But that might take a day or two. Yes, that was the worst bug in 19 years of Templot. It has shaken me up to discover I released a version of Templot with such a bug in it. I can't understand how I could have made such a silly mistake, and then failed to find it when testing. For anyone interested, I commented out these two lines while testing, and then forgot to uncomment them: if od[0 ]= def_req then od[0 ]: =134; if od[1 ]= def_req then od[1 ]: =134; I normally put a flag on code changed for testing, and then do a global search for any flags remaining before the final builds. So that was something else I forgot to do. I've been aware for some time that my 69-year-old brain is not the 50-year-old one I had when I first released Templot. I make silly mistakes, lose concentration ...
Terms matched: 1  -  Score: 29  -  69k  -  URL: https://85a.uk/templot/archive/topics/topic_3091.php


Search took 0.120 seconds


Back to Templot Club