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

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 849

type tCommandLineInterface = record

  cli_Result2: LongInt;

  

Value of IoErr from last command

  cli_SetName: LongInt;

  

Name of current directory

  cli_CommandDir: LongInt;

  

Lock associated with command directory

  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: LongInt;

  

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