[PB 5.20 Beta12] Compiler Error Messages

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

[PB 5.20 Beta12] Compiler Error Messages

Post by IdeasVacuum »

[PB 5.20 Beta12]
It would be good to have more specific information in the messages.

Code: Select all

AddGadgetItem(#List, -1, sNum + Chr(10) + sList1() + Chr(10) + sList2() + Chr(10) + sList3())
For example:
[ERROR] Test.pb (Line: 2000)
[ERROR] The list doesn't have a current element.

Could be:
[ERROR] Test.pb (Line: 2000)
[ERROR] List "sList2()" doesn't have a current element.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.