Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /inst/vrml_TimeSensor.m [b988a4] .. [c0a266] Maximize Restore

  Switch to side-by-side view

--- a/inst/vrml_TimeSensor.m
+++ b/inst/vrml_TimeSensor.m
@@ -42,10 +42,10 @@
 
 verbose = 0;
 
-tpl = struct ("cycleInterval", "SFTime",\
-"startTime",     "SFTime",\
-"stopTime",      "SFTime",\
-"enabled",       "SFBool",\
+tpl = struct ("cycleInterval", "SFTime",...
+"startTime",     "SFTime",...
+"stopTime",      "SFTime",...
+"enabled",       "SFBool",...
 "loop",          "SFBool"
 );
 
@@ -55,7 +55,7 @@
 				# Transform varargin into key-value pairs
 i = j = k = 1;			# i:pos in new varargin, j:pos in headpar,
 				# k:pos is old varargin.
-while i <= length (varargin) && \
+while i <= length (varargin) && ...
       ! (ischar (varargin{i}) && isfield (tpl, varargin{i}))
   
   if j <= length (headpar)
@@ -70,7 +70,7 @@
     i += 2;
     k++;
   else
-    error ("vrml_TimeSensor : Argument %i should be string, not '%s'",\
+    error ("vrml_TimeSensor : Argument %i should be string, not '%s'",...
 	   k,typeinfo (varargin{i}));
   end
 end
@@ -86,11 +86,11 @@
   k = varargin{i++};	# Read key
 
   if ! ischar (k)
-    error ("vrml_TimeSensor : Arg n. %i should be a string, not a %s.",\
+    error ("vrml_TimeSensor : Arg n. %i should be a string, not a %s.",...
 	   i-1, typeinfo (k));
   end
   if ! isfield (tpl, k) && ! strcmp (k,"DEF")
-    error ("vrml_TimeSensor : Unknown field '%s'. Should be one of :\n%s",\
+    error ("vrml_TimeSensor : Unknown field '%s'. Should be one of :\n%s",...
 	    k, sprintf ("   '%s'\n",fieldnames (tpl)'{:}));
   end
 
@@ -107,7 +107,7 @@
   else				# Add data field
 
     if verbose
-      printf ("vrml_TimeSensor : Adding '%s' of type %s, with arg of type %s\n",\
+      printf ("vrml_TimeSensor : Adding '%s' of type %s, with arg of type %s\n",...
 	      k,getfield(tpl,k),typeinfo (v));
     end
     tmp = getfield(tpl,k);