Modify

#1527 closed Bug (Completed)

@ScriptDir & "\Test1.xls"

Reported by: Volly Owned by: Jpm
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 Jpm, on Apr 24, 2010 at 5:02:41 PM

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, on Apr 24, 2010 at 11:41:35 PM

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 Jpm, on Apr 25, 2010 at 9:44:40 AM

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, on Apr 25, 2010 at 3:34:19 PM

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

comment:5 by Jpm, on Apr 25, 2010 at 10:21:46 PM

Owner: changed from Gary to Valik
Status: reopenedassigned

comment:6 by Jpm, on May 13, 2010 at 7:31:59 AM

Milestone: 3.3.7.0
Owner: changed from Valik to Jpm
Resolution: Completed
Status: assignedclosed

Added by revision [5814] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


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