[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 11 13:22:36 2001 
Subject:filenames, argument list separators 
From:cglur 
Volume-ID:1010511.06 

Aaron Sloman wrote:
> Some time ago (1993 I think) a decision was taken to make ved treat an
> argument with spaces as a request to read in multiple files.
> 
> So,
> 
>    ENTER ved my report
> 
> makes Ved attempt to read in a file called "my" and a file called
> "report".
...
>Does anyone ever use the ability to give Ved an argument with spaces?

Space being a valid char in an identifier, seems absurd.
My prefered OS (oberon) allows only alpha-numeric and 'period' for fileIDs
but files of other systems, with 'invalid' chars can be read,
   by quoting. eg:  "c:/o236/file-name.htm"

This is a fundamental design decision, and should not be messed with.

Is this matter related to pop11's failure to detect the missing separator
in the local var. declaration, below ?  My understanding is that comma
(only) is a a valid separator here ?

    define listify(list) -> result;
              vars next   tail;
              [] -> result;           ;;; initialise result
              while   list matches [?next ??tail]
              do      [^^result [^next] ] -> result; 
                      tail -> list;
              endwhile
        enddefine;


Chris Glur.