Search

Results 81 to 100 for string formatting.

  1. WebAssembly/Roadmap

    float-point values - working - As the float points are being converted from the textual format. It's necessary to make sure that the proper values are generated ... highly recommended. - tr - RTL.WASI.SysUtils.Platform independent utilities - working - This includes various string and pchar utilities, type helpers, conversion routines (e.g. Format, Trim, IntToStr, StrToInt, ...), generic (not related to the system clock

  2. Custom Drawn Interface/Android

    baseline, which is the bottom of strings like "abc", but not the bottom of strings like "qg". See < http://code.google.com/p/android/issues/detail?id 393> - There is no documentation about what the size ... integer of 32-bits in the ARGB format, don't use TColor here! pascal procedure TCDWidgetSet.ShowListViewDialog(ATitle: string; ATitles, ADescriptions: array of string; AColorOddRow: jint $ff292C29; AColorEvenRow: jint $ff424542); ! (/_files/Android_ListView.png

  3. Lazarus Documentation

    your own programs with translated/localized strings, and how to internationalize them (e.g. deal with date formats, decimal separators etc) : - Translations_/_i18n_/_localizations_for_programs Translations / i18n / localizations for programs How to translate your ... create and use translatable strings in your application. Quickly discusses general things about creating strings, offers a few hints on implementation issues and points out some things to consider when

  4. RPN Formulas in FPSpreadsheet

    used internally in an intermediate stage after parsing a string formula. They are important for the binary Excel file format which stores formulas in this way. This type of formulas ... numbers, operations, functions etc. When parsing, the tokens are extracted from the expression string and pushed onto a stack. In FPSpreadsheet, this stack corresponds to the array TsRPNFormula , the array

  5. TMemo

    search for begin if SearchStr < > Edit1.Text then begin // Falls sich der zu suchende String geändert hat SearchStart : 0; SearchStr : Edit1.Text; end; SearchStart : FindInMemo(Memo1, SearchStr, SearchStart + 1); if SearchStart ... lcl/stdctrls/tmemo.html TMemo doc - RichMemo TRichMemo - Like Delphi TRichEdit component: formatted text (color, size, etc.) - TListBox - A scrollable list of strings ::tpl LCL Components

  6. IDE Window: Make ResourceString

    Example 2 : Complex string constants When converting a complex string expression with variables and functions, the tool will use the Format function. For instance the statement: pascal Caption: 'Left '+IntToStr ... Format function is defined in the SysUtils unit. If your unit uses section does not already contain it, you must add it yourself. See also - Getting translation strings right

  7. Grids Reference Page

    selection: grid.Clean(Grid.Selection,\ \ ); procedure SaveToCSVFile(AFileName: string; ADelimiter\:Char ','; WithHeader\:boolean true); Save grid content to a comma separated values format (CSV) file (added in Lazarus r32179). The AFilename argument ... grid. procedure LoadFromCSVFile(AFileName: string; ADelimiter\:Char ','; WithHeader\:boolean true); Loads grid content from a comma separated values format (CSV) file (added in Lazarus r32179). Columns will be added

  8. Streaming components

    contains functions to convert the custom binary data format to text and back (LRSObjectBinaryToText, LRSObjectTextToBinary). The LCL prefers UTF8 for strings, while Delphi prefers Widestrings. So there are some conversion ... easily with streaming component data not only in Lazarus but using the Delphi binary format too. Streaming Collections See it here TCollection Streaming This is a full example

  9. File Handling In Pascal

    marker ( End_of_Line LineEnding ). You can store strings in this type of file, but also numbers which can be formatted in different ways. These files can be opened ... program ReadFile; $mode objfpc uses Sysutils; const C_FNAME 'textfile.txt'; var tfIn: TextFile; s: string; begin // Give some feedback writeln('Reading the contents of file: ', C_FNAME); writeln

  10. SizeOf/ru

    writeLn(format(enteredN, length(f) )); writeLn(format(totalData, length(f) sizeOf(f 0 ) )); end. Подход аналогичен для Ansistring ANSI strings (в зависимости от состояния переключателя компилятора $longstrings , возможно, также обозначаемого

  11. Executing External Programs

    your URL inside ", like "www.lazarus.freepascal.org" var Browser, Params: string; begin FindDefaultBrowser(Browser, Params); with TProcess.Create(nil) do try Executable : Browser; Params: Format(Params, URL ); Params: copy(Params,2,length(Params

  12. Executing External Programs/ru

    внутри кавычек "", например, "www.lazarus.freepascal.org" var Browser, Params: string; begin FindDefaultBrowser(Browser, Params); with TProcess.Create(nil) do try Executable : Browser; Params: Format(Params, URL ); Params: copy(Params,2,length(Params

  13. LCL Internals

    bounds.size.height)) then begin FillChar(struct, SizeOf(TPaintStruct), 0); struct.hdc : HDC(Context); $IFDEF VerboseWinAPI DebugLn(Format(' TLCLCommonCallback.Draw OnPaint event started context: %x', HDC(context) )); $ENDIF LCLSendPaintMsg(Target, HDC(Context), @struct); $IFDEF ... function ClipboardGetOwnerShip(ClipboardType: TClipboardType; OnRequestProc: TClipboardRequestEvent; FormatCount: integer; Formats: PClipboardFormat): boolean; $IFDEF IF_BASE_MEMBER virtual; $ENDIF function ClipboardRegisterFormat(const AMimeType: string): TClipboardFormat; $IFDEF IF_BASE_MEMBER virtual; $ENDIF Sequence

  14. LCL Internals/ru

    bounds.size.height)) then begin FillChar(struct, SizeOf(TPaintStruct), 0); struct.hdc : HDC(Context); $IFDEF VerboseWinAPI DebugLn(Format(' TLCLCommonCallback.Draw OnPaint event started context: %x', HDC(context) )); $ENDIF LCLSendPaintMsg(Target, HDC(Context), @struct); $IFDEF ... function ClipboardGetOwnerShip(ClipboardType: TClipboardType; OnRequestProc: TClipboardRequestEvent; FormatCount: integer; Formats: PClipboardFormat): boolean; $IFDEF IF_BASE_MEMBER virtual; $ENDIF function ClipboardRegisterFormat(const AMimeType: string): TClipboardFormat; $IFDEF IF_BASE_MEMBER virtual; $ENDIF Последовательность

  15. FpWeb Tutorial

    ready-made forwarding proxy. - The TFPWebProviderDataModule class in unit fpwebdata.pp serves data in JSON format that can be consumed by ExtJS stores. - The TSQLDBRestModule class in unit sqldbrestmodule.pp implements ... name> - /?module \< module name> In the 2nd format, you can change "module" (which is the default value) to whatever valid query string key by modifying Application.ModuleVariable . Using Actions

  16. PXSC

    procedures, functions, and operators - Access to subarrays - String concept - Controlled rounding - Optimal (exact) scalar product - Predefined type dotprecision (a fixed point format to cover the whole range of floating-point

  17. Daemons and Services

    TCustomDaemon // ----------------------------------------------------------------------------------------- function TDaemon1.Install: boolean; var FilePath: string; begin Result : False; $IFDEF WINDOWS Result : inherited Install; $ELSE $IFDEF UNIX FilePath : GetSystemdControlFilePath(Self.Definition.Name); LogToFile(Format('TDaemon1: installing control file: %s', FilePath )); Result ... control file: ' + FilePath); $ENDIF $ENDIF LogToFile(Format('TDaemon1: service %s installed: %s', self.Definition.Name, BoolToStr(Result, 'ok', 'failure') )); end; function TDaemon1.UnInstall: boolean; var FilePath: string; begin Result : False; $IFDEF WINDOWS Result

  18. JSON

    Object Notation) is a form of data representation that provides a standardised data exchange format using simple text. As the name suggests, it is based on a subset ... represented using double-precision floating-point format; Scientific notation is supported; Numbers should not have leading zeroes - "Offensive" characters in a string need to be escaped using the backslash character

  19. Basic Pascal Tutorial/Chapter 1/Constants

    notation. Standard Pascal does not use or allow double quotes to mark characters or strings. Constants are useful for defining a value which is used throughout your program ... word, integer. real, etc.) or character based (char, string, ansistring, etc.) One-dimensional arrays For one-dimensional array constants the general format is: > const > > > identifier : array\ low_value .. high_value

  20. Textmode IDE development

    tree, maybe it is time to kill all the old helpfile formats and standarize on CHM for a while. (removing the need to have separate files HTML is I think ... really nice or reproducible for other formats. A minor rewrite that changes the identification to something else (a record with both string and topic id's?) is a possibility