PRB: SYSTEM Function Ignores SET string=string CommandLast reviewed: December 11, 1995Article ID: Q49921 |
The information in this article applies to:
SYMPTOMSAn attempt to issue the "SET string=string" command with the SYSTEM function in the FORTRAN run-time library fails to change the environment.
RESOLUTIONThis behavior is expected. The SYSTEM command cannot modify the system environment.
MORE INFORMATIONThe following code example demonstrates this situation. The environment does not change.
Sample CodeC Compile options needed: None
INTERFACE TO FUNCTION SYSTEM[C] (STRING) INTEGER*2 SYSTEM CHARACTER*1 STRING[REFERENCE] END INTEGER*2 SYSTEM I = SYSTEM('SET CL=/FPi /Lr'C) END |
Additional reference words: 1.00 4.00 4.10 5.00 5.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |