Index: /trunk/Ohana/src/opihi/cmd.data/concat.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/concat.c	(revision 8130)
+++ /trunk/Ohana/src/opihi/cmd.data/concat.c	(revision 8131)
@@ -4,5 +4,4 @@
 
   int  i, j, Nin;
-  char *end;
   double value;
   Vector *ivec, *ovec;
@@ -17,11 +16,9 @@
   if ((ovec = SelectVector (argv[2], ANYVECTOR, TRUE)) == NULL) return (FALSE);
 
-  /* if argv[1] is a number, use just that */
-  value = strtod (argv[1], &end);
-  if (end == argv[1] + strlen(argv[1])) {
+  if (SelectScalar (argv[1], &value)) {
     Nin = ovec[0].Nelements;
     ovec[0].Nelements++;
     REALLOCATE (ovec[0].elements, float, ovec[0].Nelements);
-    ovec[0].elements[Nin] = atof (argv[1]);
+    ovec[0].elements[Nin] = value;
     return (TRUE);
   } 
