[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51899] openvar() function should validate its
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #51899] openvar() function should validate its inputs |
Date: |
Wed, 30 Aug 2017 17:03:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.gnu.org/bugs/?51899>
Summary: openvar() function should validate its inputs
Project: GNU Octave
Submitted by: rik5
Submitted on: Wed 30 Aug 2017 02:03:26 PM PDT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
I was trying the new Variable Editor and I used
y = 1:10
openvar (y)
There were two warning messages issued immediately in the Command Window.
warning: implicit conversion from matrix to sq_string
warning: implicit conversion from range to sq_string
In addition, the Variable Editor did pop open a tab with a crazy string for
the variable name which it said it could not find.
The correct syntax should have been
openvar ("y")
where "y" is a string. Instead, I got something like
openvar (char (y))
I understand how this happened, but it would be nicer if the openvar function
would validate its inputs just a bit.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51899>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51899] openvar() function should validate its inputs,
Rik <=