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: No error when asking for a non e


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #63908] load: No error when asking for a non existing variable
Date: Fri, 10 Mar 2023 10:59:55 -0500 (EST)

Update of bug #63908 (project octave):

                Category:                    None => Octave Function        
              Item Group:                    None => Missed Error or Warning
                  Status:                    None => Confirmed              
                 Summary:  load variable no error => load: No error when
asking for a non existing variable 

    _______________________________________________________

Follow-up Comment #1:

Thanks for your report, I can confirm the issue for all but the "-text"
format. Here is a self contained script to reproduce:


fmt = {"-ascii", "-text", "-binary", "-hdf5", "-4", "-6", "-7"};

toto = 10;
for ii = 1:numel (fmt)
  save (fmt{ii}, "toto.mat", "toto")
  try 
    load toto.mat titi
    printf ("Load silently loads nothing for format %s\n", fmt{ii})
  catch
    printf ("Ok for format %s\n", fmt{ii})
  end_try_catch
endfor




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

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