[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] getd in a script
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2017-09-11 19:13:45
Message-ID: 4a6b37c7-3899-1cc8-7924-a19bda67b59e () free ! fr
[Download RAW message or body]

Hello Dana,

Le 07/09/2017 à 17:50, quant a écrit :
> I am running Scilab 6 on Windows 8.1.
>
> I have a directory named Macros where I have one file - helperfuncs.sci.
>
> In the console:
>      I cd to the directory that contains Macros.
>      --> getd('Macros\');
>      That works.
>
> However, when I execute an .sci script that does the same thing I get an
> error
>     Undefined variable: ‘Macros
>
> I have tried the call without the '\' and get the same thing.

Where is the script located wrt \Macros ?
 From where do you execute it, wrt \Macros ?
Is there any cd(..) in the script?

Reading you soon
Samuel

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic