[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31080] User scripts or functions created duri
From: |
J-D Bonjour |
Subject: |
[Octave-bug-tracker] [bug #31080] User scripts or functions created during a session are not found |
Date: |
Sun, 19 Sep 2010 22:42:39 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 GTB7.1 (.NET CLR 3.5.30729) |
URL:
<http://savannah.gnu.org/bugs/?31080>
Summary: User scripts or functions created during a session
are not found
Project: GNU Octave
Submitted by: jdb
Submitted on: dim 19 sep 2010 22:42:38 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
On Octave MinGW32 for Windows versions 3.2.0 to 3.2.4, when the user current
directory is the root of a Windows partition *other* than C:\ (e.g. D:\, E:\
...), the m-files (scripts or functions) created by the user *during the
session* (with command "edit" or with other editors) are not usable : when
invoqued, the following message is returned : error: '<script>' undefined near
line xxx column 1.
Its very strange, because the command "dir" sees these m-files created during
the session, and if I restart Octave I am able to use them... but not new
scripts/functions created during the session.
Example :
> cd T:\test
> edit script.m
> % creating script containing line: disp('hello world !')
> script
hello world !
> % so it works !
>
> cd .. % going to the root of this filesystem T:\
> pwd
ans = T:\
> edit script2.m
> % creating script containing line: disp('hello again')
> script2
error: `script2' undefined near line 7 column 1
> % doesn't work, but the script is here :
> dir
. .. script2.m
> quit
>
> % new Octave session
> cd T:\
> script2
hello again
> % now it works, because it's a new Octave session
>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31080>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session are not found,
J-D Bonjour <=