Search
Results 201 to 220 for string formatting.
- Delphi Converter in Lazarus
with Lazarus. It is not modified except for converting binary format to ascii text format when needed. However maintaining the file later in both Delphi and Lazarus is problematic because ... replacement supports regular expression syntax. For example: - ^Q(.+) --> $1 means something like: match a string starting with 'Q', followed by anything, and save the part after 'Q', then replace with
- FPC New Features 3.0.0
added for escaping quotes to allow this. - Notes : Double up the delimiter within the string to escape the delimiter. Example: pascal Filter: '(NAME ''O''''Malley''''s "Magic" Hammer'')'; //which gives ... support - More information : Only tested on Windows and Linux. TZipper support for zip64 format - Overview : TZipper now supports the zip64 extensions to the zip file format: > 65535 files
- DateControls Package for Lazarus
pressing N key. CenturyFrom: Word > When user enters the year in two-digit format, then the CenturyFrom property is used to determine which century the year belongs to. The default ... similar to DateEdit's DateOrder (http://lazarus-ccr.sourceforge.net/docs/lcl/editbtn/tdateedit.dateorder.html) property. TheDateSeparator: UTF8String > Defines the string used to separate date, month and year date parts. Setting this property automatically sets the UseDefaultDateSeparator
- User Changes 2.6.2
Classes) - Old behaviour : If StrictDelim is true, TStrings.DelimitedText did not completely follow the SDF format specification (which is defined in Delphi help) at least in case of spaces (and presumably ... behaviour. - Reason : Consistency (writing out and reading in DelimitedText should result in the same strings), Delphi compatibility (following the SDF specification). - Remedy : Review your existing code that reads or write
- Components and Code examples
FreeImage (http://breakoutbox.de/pascal/applications.html) - An open source library project which supports popular graphics image formats like PNG, BMP, JPEG, TIFF and others (works with Windows, Linux and macOS). PicViewer ... unmanaged types as well. - Fundamentals Code Library (http://fundementals.sourceforge.net/) - Libraries for Unicode, strings, data structures, sockets and mathematics. - GolfmlClass - A class to accept data via properties and write
- Old LCL Unicode Support
copies each byte unconverted to the string. This is how the LCL expects strings. pascal // source file saved as UTF without BOM if FileExists('Über.txt') then ; // wrong, because FileExists ... representing Unicode code points as unique byte sequences. These schemes are called Unicode transformation formats: UTF-8, UTF-16 and UTF-32. Conversions between all of them are possible. Here
- LazAutoUpdater
String - LastError: String; - DebugMode: boolean - LCLVersion: string - WidgetSet: string - FPCVersion: string - LastCompiled: string - TargetOS: string - WindowsAdminCheck: boolean --- Deploying multiple updates in a single project - By default, the ZipFilename ... long LazAutoUpdate will try downloading the new version before timing out. --- Versions.ini The format is as follows: ;LazAutoUpdate versions file versions GUI 0.0.2 - The file is small so that
- Custom Attributes/ru
TObject): string; var Ctx : TRttiContext; RttiType : TRttiType; Prop : TRttiProperty; Attrs : TCustomAttributeArray; Attr : TCustomAttribute; JsonKey : string; Skip : Boolean; Value : TValue; Parts : TStringArray; I : Integer; begin Ctx : TRttiContext.Create; try RttiType : Ctx.GetType(AObject.ClassType ... значение SetLength(Parts, Length(Parts) + 1); case Prop.PropertyType.TypeKind of tkInteger, tkInt64: Parts High(Parts) : Format(' "%s": %s', JsonKey, Value.ToString ); else Parts High(Parts) : Format(' "%s": "%s"', JsonKey, Value.AsString
- Inno Setup Usage
experiment this kind of programming with Lazarus. ; English.AssocFile english.AssocFileLZP LazPaint image english.AssocFileORA OpenRaster format english.AssocFileBMP Bitmap english.AssocFilePNG Portable Network Graphic english.AssocFileJPG JPEG english.AssocFilePDN Paint.NET image english.AssocFileGIF Animated GIF english.AssocFileICO Icon ... StringChange(MyAppName, "&", "&&") "; Flags: nowait postinstall skipifsilent Registry Root: HKLM; Subkey: "Software\Classes\LazPaint.AssocFile.lzp"; ValueType: String; ValueData: " cm:AssocFileLZP "; Flags: uninsdeletekey Root: HKLM; Subkey: "Software\Classes\LazPaint.AssocFile.lzp\DefaultIcon"; ValueType: String; ValueData
- FPSpreadsheet/fr
unité fpsRegFileFormats:. function RegisterSpreadFormat(AFormat: TsSpreadsheetFormat; AReaderClass: TsSpreadReaderClass; AWriterClass: TsSpreadWriterClass; AFormatName, ATechnicalName: String; const AFileExtensions: array of String): TsSpreadFormatID; - AFormat doit avoir la valeur sfUser pour enregistrer un format ... PCell. - Store formatting in a format list of the workbook, not in the cell, to reduce memory usage. - Use BIFF8 file-wide string storage instead of storing strings in cells
- WebAssembly/Internals
library. Those functions will be the "export" part of Wasm module as well. - WebAssembly format doesn't provide any special information for static linking (for the purpose of combining multiple ... instance results.instance; document.getElementById("container").textContent // running the export run() function instance.exports.run(); ).catch(console.error); PChar Strings Strings would require a more work from the client side. There's no "string" type
- SQLDBRestBridge/ru
Доступны следующие типы на стороне клиента, автоматически сопоставленные с собственным типом базы данных: 1. String 2. 64-bit integer 3. 32-bit integer 4. Boolean 5. Date, Time, DateTime ... данных незащищенная). 4. Выходной формат может быть зафиксирован или определен для каждого запроса ( ?Fmt format ). Обнаружение по типу контента также доступно. 5. Список полей для включения в вывод можно указать
- ATSynEdit
handler: pascal procedure TfmCombo.ComboCommand(Sender: TObject; ACmd: integer; var AHandled: boolean); var s: string; n: integer; begin if ACmd cCommand_KeyEnter then begin with ed do begin s: UTF8Encode(Trim ... demo_editor. ATSynEdit has API which allows to make report to any format. It's function DoCalcLineHiliteEx. It returns syntax highlight info for any line. Info is stored in TATLineParts
- Streaming JSON
between Free Pascal's streaming system and JSON: - JSON is a case-sensitive data format. It follows that the properties of the Free Pascal objects must be written ... object "coll" : "name": "Object 1" , "name": "Object 2" , // two objects in a TCollection "strings": "Hello 1", "Hello 2" // a string list It can be defined in your Free Pascal program
- Pas2JS Version Changes
leaks - fixed -MDelphi + $mode objfpc + overloads withouts overload keyword - TGUIDString is now type string - RTL: added websockets Version 0.9.30 - 4 Jul 2018 - fixed calling COM interface \_Release function for expressions ... fixed 'make' building with fpc 3.0.4 Version 0.9.24 - 2 Jun 2018 - fixed precompiled js formatting to same options as compiled js - fixed unit analyzer private method used by protected property
- Synapse
current + fileName; end else begin Result: fileName; break; end; end; end; procedure TMainForm.ProgressNotification(Text: String; CurrentProgress: integer; MaxProgress: integer); begin if (MaxProgress < > -1) then ProgressBar.Max: MaxProgress; ProgressBar.Position: CurrentProgress; memoStatus.Lines.Add(Text ... library. Advantage: stable. Apparently able to use private keys but these are in some format that is not widely supported. - LibSSH2 library. Pascal bindings still in development
- Code Signing for macOS
successfully signed this command will return information similar to this: Executable /Users/apple/Desktop/your.app/Contents/MacOS/yourappname Identifier org.yourdomain.yourappname Format app bundle with Mach-O thin (x86_64) CodeDirectory v 20500 size 101470 flags 0x10000 ... codesign -vv /path/to/bundle.app If your app was successfully signed this command will return the strings "valid on disk" and "satisfies its Designated Requirement", respectively, after the path to your application
- Size Matters
complexity. - For Lazarus applicationss, quite a percentage of the binary is non-code, mostly strings and tables. - Linux/FreeBSD simple binaries are bigger than the corresponding GCC ones. This is because ... with a system of in-binary debuginfo, in the older stabs or newer dwarf format. People often see e.g. Lazarus binaries that are 40MB. The correct size should be about
- Linux/kernel/module development
SizeUInt DWord; PtrInt Longint; PtrUInt DWord; ValSInt Longint; ValUInt Cardinal; $endif CPU32 Zero - terminated strings PChar ^Char; PPChar ^PChar; Pointers PSmallInt ^Smallint; PShortInt ^Shortint; PInteger ^Integer; PByte ^Byte; PWord ^word ... such device or address E2BIG 7; Argument list too long ENOEXEC 8; Exec format error EBADF 9; Bad file number ECHILD 10; No child processes EAGAIN 11; Try again ENOMEM
- Gold
ones who want to understand the code. It also supports only CGT v1.0 file format so you need to use older Gold Parser Builder. You can find the engine here ... Digit + ABCDEFabcdef Digit9 Digit - 0 ! ------------------------------------------------- Terminals Number '-'?('0' Digit9 Digit )('.' Digit +)?( Ee +- ? Digit +)? String " ( Unescaped '\'( "\/bfnrt 'u' Hex Hex Hex Hex )) " ! ------------------------------------------------- Rules < Json> :: < Object> < Array> < Object> :: ' ' ' ' ' ' < Members> ' ' < Members> :: < Pair> < Pair