I do not understand why this error occurs...Is this a bug in XE, or is something wrong in the IDE settings?

The System unit is automatically used by all other units in a Delphi program. So you cannot use it again. Simply remove System from your uses clause.
The documentation states:
The
Systemunit and theSysInitunit are used automatically by every application and cannot be listed explicitly in theusesclause.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With