Difference between revisions of "IDE Macros in paths and filenames/pt"

From Lazarus wiki
Jump to navigationJump to search
(New page: {{IDE Macros in paths and filenames}} * Col - current column in source editor * Row - current row in source editor * CompPath - compiler path set in the environment options * CurToken - c...)
 
Line 1: Line 1:
 
{{IDE Macros in paths and filenames}}
 
{{IDE Macros in paths and filenames}}
  
* Col - current column in source editor
+
* Col - coluna atual no editor de código
* Row - current row in source editor
+
* Row - linha atual no editor de código
* CompPath - compiler path set in the environment options
+
* CompPath - caminho do compilador nas opções de ambiente
* CurToken - current token at the cursor in the source editor
+
* CurToken - dado atual no cursor do editor de código
* EdFile - current filename in the source editor
+
* EdFile - nome do arquivo atual no editor de código
* ExeExt - executable file extension
+
* ExeExt - extensão de arquivo do executável
 
* FPCSrcDir - FPC source directory set in environment options
 
* FPCSrcDir - FPC source directory set in environment options
 
* LazarusDir - Lazarus source directory set in environment options
 
* LazarusDir - Lazarus source directory set in environment options

Revision as of 14:59, 30 April 2007

Deutsch (de) English (en) español (es) français (fr) português (pt) русский (ru)

  • Col - coluna atual no editor de código
  • Row - linha atual no editor de código
  • CompPath - caminho do compilador nas opções de ambiente
  • CurToken - dado atual no cursor do editor de código
  • EdFile - nome do arquivo atual no editor de código
  • ExeExt - extensão de arquivo do executável
  • FPCSrcDir - FPC source directory set in environment options
  • LazarusDir - Lazarus source directory set in environment options
  • LCLWidgetType - LCL widgetset of the current project
  • TargetCPU - Target CPU of the current project
  • TargetOS - Target OS of the current project
  • LanguageID - IDE language, for example en for english, de for german
  • LanguageName - IDE language name, the translated name of the current language. For instance: Deutsch for german.
  • Params - run parameters of the current project
  • Prompt - ask the user for a value. This is an interactive macro.
  • ProjFile - the full filename of the main source of the current project (.lpr)
  • ProjPath - the project directory (the directory of the .lpi file)
  • Save - save current file in source editor
  • SaveAll - save all
  • TargetFile - the output file of the current project (e.g. the executable or the library)
  • TargetCmdLine - the project executable plus run parameters
  • TestDir - Test directory set in the environment options
  • RunCmdLine - the command to launch the project
  • ProjPublishDir - publishing directory of the current project
  • ProjUnitPath - unit path of project directory
  • ProjIncPath - include path of project directory
  • ProjSrcPath - source path of project directory
  • ConfDir - directory where the IDE stores its config files
  • MakeExe - path to the 'make' program (gmake under BSD)
  • Project() - makro function for various values
    • Project(UnitPath) - unit path of project directory
    • Project(SrcPath) - source path of project directory
    • Project(IncPath) - include path of project directory
  • Ext() - macro function for ExtractFileExt
  • Path() - macro function for ExtractFilePath
  • Name() - macro function for ExtractFileName
  • NameOnly() - macro function for ExtractFileNameOnly
  • MakeDir() - macro function for AppendPathDelim
  • MakeFile() - macro function for ChompPathDelim
  • PkgDir() - macro function for the directory (location of the .lpk) of a package ID given as parameter
  • PkgSrcPath() - macro function for the source path of a package ID given as parameter
  • PkgUnitPath() - macro function for the unit path of a package ID given as parameter
  • PkgIncPath() - macro function for the include path of a package ID given as parameter