Search
Results 221 to 240 for string formatting.
- Notarization for macOS 10.14.5+
Terminal and running the following command: bash hdiutil create -volname MyApp -srcfolder /path/to/MyApp.app -ov -format UDBZ MyApp.dmg Step 2 - Code sign the disk image Disk images must be signed with ... /DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> < plist version "1.0"> < dict> < key>BuildMachineOSBuild< /key> < string>18G8022< /string> < key>CFBundleDevelopmentRegion< /key> < string>English< /string> < key>CFBundleDocumentTypes< /key> < array> < dict> < key>CFBundleTypeOSTypes
- TCollection
mode objfpc uses classes; type TSomeRecord class(TCollectionItem) private Fvalue:string; published property Value:string read Fvalue write FValue; end; var Collection:TCollection; Item:TSomeRecord; begin // pass the type ... TComponent class that can stream the list loading and saving to resource files (res format). See also Streaming components . pascal program streaminghair; $mode objfpc $H+ $M+ uses Classes;// only classes
- User Changes 2.4.0
converted from the source code's code page. It would therefore result in a string with ord(str\ 1\ ) equal to the ordinal value of that character as it appeared ... four bytes large. They were also always stored in the little endian set format. - New behaviour : These sets are now one byte large and always stored according to the endianess
- Peg Solitaire tutorial
Size-1) do for iCol : 1 to Min(length(Strings iRow ),Size) do case Strings iRow iCol of ' ': Cell iRow+1,iCol : ctNoAccess; '.': Cell iRow+1,iCol : ctEmpty; 'o': Cell ... placed on the form. - Add the following statement to the procedure; it adds a formatted line to the memo displaying the position where the mouse button was pressed: pascal Memo1.Append
- CudaText/LSP Client
Auto-completion - Go to definition - Function signature help - Hover - Find references - Code linting - Document formatting Use "pip" to install the server: shell pip install python-lsp-server This will expose ... line after "System.g" and call auto-completion. java public class Example public static void main(String args) System.g Nim Server from < https://github.com/PMunch/nimlsp> works good. Config file (CudaText)/settings/lsp_nim.json: json
- Paszlib
UnZipper.Free; end; end. Zip files with encoding filenames As already noted, the zip file format originally was written to support only code page 437 of the IBM PC. In modern ... file names are considered correctly: pascal uses FileUtil, zipper; function PackFiles(AZipFilename, ADirectory, AMask: String; IncludingSubDirs: Boolean): Boolean; var OurZipper: TZipper; list: TStringList; i: Integer; diskFileName, archiveFileName: String; begin Result
- Hardware Access
other units after this ; var l:boolean; function check_affirmation():boolean; var k:string; begin Writeln('To quit the application do NOT use CTRL-C! Instead, press ... ComNr is obviously the number of the COM port if ComNr > 9 then Result : Format('\\\\.\\COM%d', ComNr ) else Result : Format('COM%d', ComNr ); The list of the available connected
- Sinclair QL
SMSQmulator (https://wlenerz.com/smsqmulator/), InfoZIP and various other tools: -WQ< x> Set executable metadata format (Sinclair QL) -WQqhdr Set metadata to QDOS File Header style (default) -WQxtcc Set metadata ... manipulation of the Job name: pascal sets the Job name directly from a Pascal string returns the number of characters successfully set as the Job name, or -1 if there
- FPC New Features Trunk
fpcres utility gained support for compiling RC files to RES files if the output format (parameter -of ) is set to rc . The Free Pascal compiler itself can use fpcres instead ... mode objfpc $H+ $modeswitch prefixedattributes type TMyAttribute class(TCustomAttribute) constructor Create; constructor Create(aArg: String); constructor Create(aArg: TGUID); constructor Create(aArg: LongInt); end; $M+ TMyAttribute TTestClass class private fTest
- Internet Tools
html reduces on the relevant parts) const EXAMPLE_TEMPLATE: string '< form>' + '< input type "text" name "abc"> abc: @value < /input>' + '< input type "text" name "def"> def: @value < /input>' + '< input type "text ... product\ to calculate \ 1000!\ and output it with the standard XQuery 3.0 function \ format-integer\ pascal uses xquery; writeln(query('format-integer(x:product(1 to 1000), "w")').toString); which
- Main menu
amount specified in Environment -> Editor options -> General -> Block indent. This feature is useful for formatting your Pascal source code to show the underlying Block structure. Unindent selection : Removes one level ... search. - Find Next : Search again in the forward direction for the previously entered text string. - Find Previous : Search again in the backwards direction for the previously entered text string
- TBGRABitmap class
Class Back to BGRABitmap . TBGRABitmap class contains an image stored in BGRA 32-bit format. It derives from TBGRADefaultBitmap which derives from TBGRACustomBitmap and IBGRAScanner TBGRACustomBitmap TBGRACustomBitmap from which ... Width . See BGRABitmap tutorial 4 - tr - colspan 3 - tr - td - colspan 2 property Caption: string read write ; - tr - td - td - Can contain a text to describe the image
- Windows API examples
WinAPI - ExpandEnvironmentStrings This example shows how to retrieve the value of a known environment string. WinAPI - GetModuleHandle This example shows how to call GetModuleHandle to retrieve the load address ... CREATE', 'Main Window', MB_ICONERROR or MB_OK); WndProc : -1; exit; end; format and save the values obtained StrFmt(Values 1 , ' %p', FunctionAddress ); the next two addresses should
- Fpcunit
test runner outputs to XML if needed (using the same xmltestreport XML format). Customising output You can use your own "listener" that listens to the test results and outputs ... executed. The 2 functions to use are declared as follows: pascal procedure RunRegisteredTests(aConfig : String ’’; baseUrl: string DefaultUrl); function IsTestinsightListening(aConfig : String ’’; baseUrl: string DefaultUrl) : Boolean; The code will look
- CSV
what a reading application expects to function. If you need an RFC4180 compliant CSV format, use TCSVDataSet instead. TSdfDataset and TFixedDataset sample files Sample SDF file > Below is a sample ... separator for the fields. It will not be possible to use this char in strings in the database. Similarly it will currently not be possible to have line endings
- Lazarus Tutorial/fr
example TMemo or TComboBox , then the textual elements are arranged as an array of strings (zero-indexed, ie numbered from \ 0..numLines-1\ ) in Lines . Visible If true, the object ... Tutorial. 25 Mar 2004 User:Kirkpatc - Added screenshots and revised some of the page formatting User:Tom VlxAdmin 3/25/2004 - Moved some of kwhitefoot's comments into Tutorial section. Formatting
- User Changes Trunk
field is longer (e.g. memo). Currently the only feasible solution is to map all string types to ftmemo. - Remedy: replace all TStringField fields in query with TMemoField fields ... before the variable. Windows: result type of locale, code page, date and time format enumeration callbacks changed - Old behaviour : The callback types LOCALE_ENUMPROC , CODEPAGE_ENUMPROC , DATEFMT_ENUMPROC and TIMEFMT
- Notarization for macOS 10.14.5+/ru
открыв Терминал и выполнив следующую команду: bash hdiutil create -volname MyApp -srcfolder /path/to/folder -ov -format UDBZ MyApp.dmg Шаг 2 - Код для подписи образа диска Код подписывает образ диска, открыв Терминал ... /DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> < plist version "1.0"> < dict> < key>BuildMachineOSBuild< /key> < string>18G8022< /string> < key>CFBundleDevelopmentRegion< /key> < string>English< /string> < key>CFBundleDocumentTypes< /key> < array> < dict> < key>CFBundleTypeOSTypes
- Projects using Lazarus - Hobby software
GHTopo (https://ghtopo.blog4ever.com) is a cave-mapping software using TOPOROBOT methodology and his Tab format. It's written in Lazarus by JP CASSOU. Exists also Java version, and the calculation ... file display table. Depending on values in the columns, part of the search string or whole search string will be used to find something. - Elevation histogram: Graphic elevation histogram
- Office Automation
FPSpreadsheet library. It can read and write spreadsheets in several formats and it doesn't require having any external application installed on the machine. The advantages are that fpspreadsheet ... aCell : IRange ; aValue : OleVariant ; // Not sure about this, but it works. ie( Edit.Text : STRING(aValue); ) ExcelApp : TExcelApplication ; ExcelWbs : IWorkBooks ; ExcelBook : IWorkBook ; ExcelSheet : ISheet ; ExcelSheets : ISheets ; Getting a sheet is simple