Q: is object pascal (fpc) case sensitive?
A: Yes, Object Pascal (also known as Free Pascal or FPC) is a case-sensitive programming language. This means that the compiler treats upper case and lower case letters as distinct characters, and will consider them to be different if they are used in different cases.
For example, in Object Pascal, the variables
MyVariable and
myvariable would be considered to be two different variables, and the compiler would not recognize them as being the same. Similarly, the function
DoSomething would be considered to be different from the function
dosomething.
It is important to be consistent with the use of case in Object Pascal, as using the wrong case can cause errors in your code. It is a good idea to adopt a standard naming convention for your variables and functions, and to stick to it consistently throughout your code.
cheers
S.
