diff scripts/general/isa.m @ 7125:f084ba47812b

[project @ 2007-11-08 02:29:23 by jwe]
author jwe
date Thu, 08 Nov 2007 02:29:24 +0000
parents a1dbe9d80eee
children ff717f2f9feb
line wrap: on
line diff
--- a/scripts/general/isa.m	Thu Nov 08 01:09:44 2007 +0000
+++ b/scripts/general/isa.m	Thu Nov 08 02:29:24 2007 +0000
@@ -25,5 +25,11 @@
 ## Adapted-by: jwe
 
 function retval = isa (x, cname)
+
+  if (nargin != 2)
+    print_usage ();
+  endif
+
   retval = strcmp (class (x), cname);
+
 endfunction