Modify

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)

comment:1 by J-Paul Mesnage, 16 years ago

Resolution: No Bug
Status: newclosed

_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.

in reply to:  1 comment:2 by Valik, 16 years ago

Resolution: No Bug
Status: closedreopened

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 J-Paul Mesnage, 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 Valik, 16 years ago

I know, heaven forbid we actually provide working examples of how to use our language, right?

comment:5 by J-Paul Mesnage, 16 years ago

Owner: changed from Gary to Valik
Status: reopenedassigned

comment:6 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: changed from Valik to J-Paul Mesnage
Resolution: Completed
Status: assignedclosed

Added by revision [5814] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.