Post by timur77 on May 4, 2022 7:04:28 GMT -5
I would like to speculate on the topic of errors. Since programming has to constantly look for various errors, this topic is not indifferent to me. Errors (anomalies) in the program appear due to the features of the programming language, as well as the features of the compiler (interpreter) that processes it. And these anomalies are invaluable experience of programmers. The problem is that this experience is usually gained by each programmer himself, encountering pitfalls when writing code. My dream is that in the references to programming languages and compilers, there would be a section such as "anomalies of the language and compiler and ways to solve problems". But alas, there is no such thing in any help for any compiler and language. The error itself is very interesting. I myself have never described the function in the same line (I try to maintain the Hungarian style of writing), ":" I usually use it only in the "IF" operator. But I have not encountered such a problem.
Here's a problem for you. Not knowing the features of the compiler, I drew a drawing with the program. I put part of the drawing in memory according to the pointer and tried to draw it in another place. It turned out that this could not be done. You need to save the drawing to a file, then download it from the file and then draw. Or playing a strictly limited format of midi files, or features of the bmp format, or even take a simple note.exe it turns out that if there is a special code ahead in xml, then the Cyrillic encoding looks different when opened in notepad, and in Notepad++ in a different way. Or backward compatibility between LB4.5.1 and LB 5, in LB4.5.1 you can write code without "print", but in LB 5 it is no longer possible.
Here's a problem for you. Not knowing the features of the compiler, I drew a drawing with the program. I put part of the drawing in memory according to the pointer and tried to draw it in another place. It turned out that this could not be done. You need to save the drawing to a file, then download it from the file and then draw. Or playing a strictly limited format of midi files, or features of the bmp format, or even take a simple note.exe it turns out that if there is a special code ahead in xml, then the Cyrillic encoding looks different when opened in notepad, and in Notepad++ in a different way. Or backward compatibility between LB4.5.1 and LB 5, in LB4.5.1 you can write code without "print", but in LB 5 it is no longer possible.