Opened 16 years ago
Closed 16 years ago
#1527 closed Bug (Completed)
@ScriptDir & "\Test1.xls"
| Reported by: | Volly | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.7.0 | Component: | Standard UDFs |
| Version: | 3.3.6.0 | Severity: | None |
| Keywords: | Cc: |
Description
The example script for _ExcelBookSaveAs points to @ScriptDir & "\Test1.xls". The file is missing from the examples folder. The example for _WordAttach does have the "Test.doc" file in the example folder. I know it is a simple thing to add the xls file to the folder to make it work, but would it not be better to add it to the build so that the example script can find the file?
I also know the script will work in that it will display an error saying the file can't be found. However, isn't one of the points of the example script is to show how the command in question works in action?
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:2 by , 16 years ago
| Resolution: | No Bug |
|---|---|
| Status: | closed → reopened |
Replying to Jpm:
We don't plan to have them functional.
Then why do we have examples? If we can't provide a working example then we shouldn't provide an example at all. Otherwise we should provide a working one. I'm reopening this.
comment:3 by , 16 years ago
You can open one test.doc too.
Not all the scripts have the corresponding data file just the script.
But well that another big task to have all examples working on any windows
comment:4 by , 16 years ago
I know, heaven forbid we actually provide working examples of how to use our language, right?
comment:5 by , 16 years ago
| Owner: | changed from to |
|---|---|
| Status: | reopened → assigned |
comment:6 by , 16 years ago
| Milestone: | → 3.3.7.0 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Completed |
| Status: | assigned → closed |
Added by revision [5814] in version: 3.3.7.0

_WordAttach does not have a test.doc either you can verify it is failing.
Doc example are not all free of error at execution. They just try to give representative examples ...
We don't plan to have them functional.