Unit msesysenv

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Class ehalt  
Record argumentdefty  
Record envvarty  
Record sysenvdefty  
Class tsysenvmanager  

Functions and Procedures

procedure defstoarguments(const defs: sysenvdefarty; out arguments: argumentdefarty; out alias: msestringararty);

Types

argumentkindty = (...);
argumentkindsty = set of argumentkindty;
sysenverrornrty = (...);
argumentflagty = (...);
argumentflagsty = set of argumentflagty;
sysenvoptionty = (...);
sysenvoptionsty = set of sysenvoptionty;
pargumentdefty = ˆargumentdefty;
argumentdefaty = array [0..0] of argumentdefty;
pargumentdefaty = ˆargumentdefaty;
argumentdefarty = array of argumentdefty;
penvvarty = ˆenvvarty;
envvararty = array of envvarty;
sysenvmanagereventty = procedure(sender: tsysenvmanager) of object;
sysenvmanagervalueeventty = procedure(sender: tsysenvmanager; const index: integer; var defined: boolean; var argument: msestringarty; var error: sysenverrornrty) of object;
psysenvdefty = ˆsysenvdefty;
sysenvdefarty = array of sysenvdefty;

Constants

commandlineparchar = '-';
defaulterrorcode = 1;
at_pars = [ak_par,ak_pararg];
errtexte: array[sysenverrornrty] of msestring = ('','', 'Invalid parameter','Missed argument','Invalid argument','Ambiguous parameter', 'Invalid integer','Parameter mandatory');
arf_defined = [arf_envdefined,arf_statdefined,arf_setdefined];
defaultsysenvmanageroptions = [seo_tooutput,seo_toerror];

Description

Functions and Procedures

procedure defstoarguments(const defs: sysenvdefarty; out arguments: argumentdefarty; out alias: msestringararty);
 

Types

argumentkindty = (...);
 
Values
  • ak_none
  • ak_envvar
  • ak_par
  • ak_pararg
  • ak_arg
argumentkindsty = set of argumentkindty;
 
sysenverrornrty = (...);
 
Values
  • ern_io
  • ern_user
  • ern_invalidparameter
  • ern_missedargument
  • ern_invalidargument
  • ern_ambiguousparameter
  • ern_invalidinteger
  • ern_mandatoryparameter
argumentflagty = (...);
 
Values
  • arf_envdefined
  • arf_statdefined
  • arf_setdefined
  • arf_res1
  • arf_res2
  • arf_res3
  • arf_res4
  • arf_mandatory
  • arf_argopt
  • arf_filenames
  • arf_statoverride
  • arf_stataddval
  • arf_unquote
  • arf_integer
  • arf_help
argumentflagsty = set of argumentflagty;
 
sysenvoptionty = (...);
 
Values
  • seo_appterminateonexception
  • seo_terminateonerror
  • seo_haltonerror
  • seo_exceptiononerror
  • seo_exitoninfo
  • seo_noerrormess
  • seo_tooutput
  • seo_toerror
  • seo_noautoinit
sysenvoptionsty = set of sysenvoptionty;
 
pargumentdefty = ˆargumentdefty;
 
argumentdefaty = array [0..0] of argumentdefty;
 
pargumentdefaty = ˆargumentdefaty;
 
argumentdefarty = array of argumentdefty;
 
penvvarty = ˆenvvarty;
 
envvararty = array of envvarty;
 
sysenvmanagereventty = procedure(sender: tsysenvmanager) of object;
 
sysenvmanagervalueeventty = procedure(sender: tsysenvmanager; const index: integer; var defined: boolean; var argument: msestringarty; var error: sysenverrornrty) of object;
 
psysenvdefty = ˆsysenvdefty;
 
sysenvdefarty = array of sysenvdefty;
 

Constants

commandlineparchar = '-';
 
defaulterrorcode = 1;
 
at_pars = [ak_par,ak_pararg];
 
errtexte: array[sysenverrornrty] of msestring = ('','', 'Invalid parameter','Missed argument','Invalid argument','Ambiguous parameter', 'Invalid integer','Parameter mandatory');
 
arf_defined = [arf_envdefined,arf_statdefined,arf_setdefined];
 
defaultsysenvmanageroptions = [seo_tooutput,seo_toerror];
 

Generated by PasDoc 0.16.0.