diff scripts/io/beep.m @ 4268:363d406ec86c

[project @ 2003-01-03 15:55:01 by jwe]
author jwe
date Fri, 03 Jan 2003 15:55:33 +0000
parents 34b8cd8e6ef5
children 977f977fb2c3
line wrap: on
line diff
--- a/scripts/io/beep.m
+++ b/scripts/io/beep.m
@@ -27,6 +27,10 @@
 
 function beep ()
 
-  puts ("\a");
+  if (nargin == 0)
+    puts ("\a");
+  else
+    usage ("beep ()");
+  endif
 
 endfunction