* Bug 15853 fixed: mlist('cblock') endless 'operation+:..' warnings
[scilab.git] / scilab / modules / overloading / macros / %cblock_p.sci
index cf6692c..7982394 100644 (file)
 
 function %cblock_p(m)
     n=size(definedfields(m),"*")
+    if n==1 then
+        mprintf(_("  (empty table)\n"))
+        return
+    end
     txt=[];
     for k=2:n
         txt=[txt string(getfield(k,m))];