[Download-List] DOWNLOAD Version 8 Compile and Run Issues
Charles Stevenson
stevenson.chas at gmail.com
Sat Jul 25 00:30:51 EDT 2015
Some responses below.
Warm regards,
Chuck Stevenson
On Fri, Jul 24, 2015 at 2:56 PM, Rotman, David <rotmand at cedarville.edu>
wrote:
> I have some syntax questions for those of you who are more familiar with
> Universe:
>
> 1. This set of lines seems to execute correctly in Universe on Windows,
> but I cannot find any documentation on the '/c'. Is this the correct
> format? Are there other options to the DOS command?
> X.COMMAND = 'DOS /C perl c:\temp\myprogram.pl'
> EXECUTE X.COMMAND
>
That's about it. Case insensitive. everything that follows /c goes to
dos.
E.g. "/L" is the lowercase option for DIR cmd:
>DOS /C DIR /L
Volume in drive C is OS
Volume Serial Number is 0A91-A3A1
Directory of C:\UVDB\CDS
06/30/2015 09:06 AM <DIR> .
06/30/2015 09:06 AM <DIR> ..
02/01/2014 10:42 AM 18,432 &metadata000
06/30/2015 09:06 AM <DIR> &temp&
09/18/2014 02:31 AM 3,072 acts.f
06/30/2015 09:06 AM <DIR> acts.t
07/16/2015 10:38 AM <DIR> bp
06/30/2015 09:06 AM <DIR> bp.l
> 2. What changes would be needed to run the lines in Universe on Linux?
> (I gather that an 'sh' is needed...upper case? lower case? any other
> arguments?)
>
SH instead of DOS, yes. E.g.:
>SH -c"ls -la | more"
>
> 3. What kinds of errors are generated by DLPARSE when encountering
> Q-pointers?
>
It doesn't seem to find a file on the command line.
I didn't get very far yet but I changed this line in the
CHECK.VOC.FOR.NONFIELD gosub:
BEGIN CASE
* CASE (VOC.ITEM.TYPE = 'F' OR VOC.ITEM.TYPE = 'DIR') AND
PASSED.LOOKUP.FILE.NAME ; * CDS 7/15
CASE (VOC.ITEM.TYPE = 'F' OR VOC.ITEM.TYPE = 'Q' ) AND
PASSED.LOOKUP.FILE.NAME ; * CDS 7/15
DEBUG4
CRT 'Opening ':ITEM
END
OPEN '', ITEM TO F.TEST THEN
'DIR' is not valid VOC Type for files. "F", "Q", "f", & "q" are.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.cedarville.edu/pipermail/download-list/attachments/20150724/9f0f6c29/attachment.html>
More information about the download-list
mailing list