Thread View: comp.lang.modula2
1 messages
1 total messages
Started by abl
Mon, 02 Mar 1987 18:27
Logitech Modula2 PCDOS Exec/System call wanted
Author: abl
Date: Mon, 02 Mar 1987 18:27
Date: Mon, 02 Mar 1987 18:27
13 lines
1336 bytes
1336 bytes
I would like to perform a DOS command from inside a Logitech Modula 2/86 program. What I really want is something like the Unix system call used to perform shell escapes. In addition with DOS it helps to have a routine which can read the environment variable COMSPEC to find the path to COMMAND.COM. I have seen an implementation for Turbo Pascal that does this but not one for Logitech Modula 2/86. I am using release 1.13 of the compiler so maybe later versions include a library module to do this. Also it seems that one must deallocate some of the Modula2 program's memory before performing the DOS Exec call so an explanation of this would be appreciated.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads