octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63908] load variable no error


From: anonymous
Subject: [Octave-bug-tracker] [bug #63908] load variable no error
Date: Fri, 10 Mar 2023 09:09:08 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63908>

                 Summary: load variable no error
                   Group: GNU Octave
               Submitter: None
               Submitted: Fri 10 Mar 2023 02:09:06 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 10 Mar 2023 02:09:06 PM UTC By: Anonymous
datasetname is variable

file1.mat and file2.mat are files storing data sets.


>> load file1.mat datasetname
>> datasetname
datasetname = DS1

>> load file2.mat datasetname
>> datasetname
datasetname = DS1


The problem was file2.mat had no variable datasetname, load command gave no
error, and old value of datasetname was used, causing error.

Load should givee error for variable name not found.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63908>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]