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

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

[Octave-bug-tracker] [bug #50359] clearer documentation for difference b


From: Rik
Subject: [Octave-bug-tracker] [bug #50359] clearer documentation for difference between isnull and isempty
Date: Thu, 14 Sep 2017 11:48:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #20, bug #50359 (project octave):

@Kai: Could you try a variation of your demo class which uses varargin?


classdef aclass
  properties
    a
  end
  
  methods
    function obj = subsasgn(obj,s,varargin)
      disp('----')
      disp(nargin)
      disp(s)
      disp(val)
      disp(isempty(varargin))
      disp('----')
    end
  end
end



And then as before


clear CLASSES; clear all; clc;

obj = aclass();
obj(:) = 3;
obj(:) = [];
obj(:) = zeros (0,0);




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50359>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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