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

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

[Octave-bug-tracker] [bug #42620] exist() does not use "class" argument


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #42620] exist() does not use "class" argument
Date: Fri, 19 Nov 2021 23:15:32 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Follow-up Comment #6, bug #42620 (project octave):

created a test class

brokenclass.m:

classdef brokenclass
  a = 
end



>> brokenclass
Error using brokenclass
File: brokenclass.m Line: 2 Column: 1
Invalid expression. Check for missing multiplication
operator, missing or unbalanced delimiters, or other syntax
error. To construct matrices, use brackets instead of
parentheses. 
>> exist('brokenclass')
ans =
     2


deleted the a = line:


>> brokenclass
ans = 
  brokenclass with no properties.
>> exist('brokenclass')
ans =
     2


I'm not sure what it needs to see to make it exist output an 8.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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