[Scilab-users] Trouble with 5.4.0 on MacOSX 10.8.3
Bruno JOFRET
bruno.jofret at scilab-enterprises.com
Wed Apr 3 08:22:14 CEST 2013
Hi,
There is definitely an error in syntax here :
deletefile(SCIHOME+/'scinotesConfiguration.xml')
The / (slash) must be within ' (quote) in order to use + (plus) as
string contatenation.
the right syntax is
deletefile(SCIHOME+'/scinotesConfiguration.xml').
Regards,
On 03/30/2013 10:54 PM, Gary Nelson wrote:
> From SCILAB
>
> -->deletefile('scinotesConfiguration.xml')
> ans =
>
> F
>
>
> -->deletefile(SCIHOME+/'scinotesConfiguration.xml')
> !--error 2
> Invalid factor.
>
> -->
>
>
> -->SCIHOME
> SCIHOME =
>
> /Users/garynelson/.Scilab/scilab-5.4.0
>
> -->deletefile(SCIHOME+/'scinotesConfiguration.xml')
> !--error 2
> Invalid factor.
>
>
> ->SCIHOME
> SCIHOME =
>
> /Users/garynelson/.Scilab/scilab-5.4.0
>
> -->deletefile('/scinotesConfiguration.xml')
> ans =
>
> F
>
> Is there an error in the syntax here?
>
>
> From OS file browser, there are no files visible with any of these names.
>
> Thanks again for your help and patience
>
>
> Gary Nelson
> porpoiseseeker at gmail.com
>
>
>
> On Mar 30, 2013, at 1:59 PM, Samuel Gougeon <sgougeon at free.fr> wrote:
>
>> Le 30/03/2013 21:46, Gary Nelson a écrit :
>>> How do I find these
>> in
>> --> SCIHOME
>> --> help SCIHOME
>>
>>
>>> and trash them?
>> with your OSfile browser, or under Scilab with
>>
>> --> help deletefile
>>
>> http://help.scilab.org/docs/5.4.0/en_US/deletefile.html
>>
>> Samuel
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
--
Bruno JOFRET
Software Architect
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
http://www.scilab-enterprises.com
More information about the users
mailing list