Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

TCommandLineInterface

DOS Processes started from the CLI via RUN or NEWCLI have this additional set to data associated with them

Declaration

Source position: amigados.pas line 1323

type TCommandLineInterface = record

  cli_Result2: LongInt;

  

Value of IoErr from last command

  cli_CurrentDirName: LongInt;

  cli_PathList: LongInt;

  cli_ReturnCode: LongInt;

  

Return code from last command

  cli_CommandName: LongInt;

  

Name of current command

  cli_FailLevel: LongInt;

  

Fail level (set by FAILAT)

  cli_Prompt: LongInt;

  

Current prompt (set by PROMPT)

  cli_StandardInput: LongInt;

  

Default (terminal) CLI input

  cli_CurrentInput: LongInt;

  

Current CLI input

  cli_CommandFile: LongInt;

  

Name of EXECUTE command file

  cli_Interactive: LongInt;

  

Boolean; True if prompts required

  cli_Background: LongInt;

  

Boolean; True if CLI created by RUN

  cli_CurrentOutput: LongInt;

  

Current CLI output

  cli_DefaultStack: LongWord;

  

Stack size to be obtained in long words

  cli_StandardOutput: LongInt;

  

Default (terminal) CLI output

  cli_Module: LongInt;

  

SegList of currently loaded command

end;


Documentation generated on: 2021-07-30