Summary: | error message in basic is confusing ,when I assign value that has same name as existing function | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | tripod312 |
Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | trivial | CC: | alain.romedenne, andreas.heinisch, himajin100000, ilmari.lauhakangas, raal |
Priority: | medium | ||
Version: | 7.1.1.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: |
Description
tripod312
2021-03-13 00:38:30 UTC
Message in english: Action not supported. Invalid procedure call. Message looks good to me, leaving unconfirmed. Alain: what do you think? Is it possible to specify the error message like this? Ideally, such a use should be detected at compile time. Instead a runtime error number 5 - Invalid procedure call - is returned; prepended with "Action not supported." text that isn't a documented error message. Indeed, One may expect some clearer message such as, but not limited to: 951 Unexpected symbol 'year' 958 Sub procedure or function procedure already defined 968 Symbol already defined differently 1004 Error executing a method I don't have a M$ environment to examine VBA behaviour at compile time and during runtime. Someone holding M*Office needs to confirm this report. M$-Office shows a compiling error with "argument is not optional" |