Search

Results 41 to 60 for string formatting.

  1. TDateLabel

    assign a TDateTime value to the control. Format allows you to define the format string to be used by the caption. The purpose/advantage of this control is to allow

  2. LazMapViewer

    values can be entered in the degree-minute-second format, otherwise as standard fractional floating point numbers. - MapProvider (string) : > > This string identifies the provider from which the maps are downloaded ... info text can be modified by the InfoMask property which is a mask string for the Format() function accepting the x / y / zoom parameters as argument indices 0..2, respectively

  3. File extensions

    Lazarus) and the compiler (FPC). Lazarus Project files extension description help format ---------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------- ------ .lpg Lazarus Project Group file Project_Groups\ Project Groups XML .lpk Lazarus Package file (contains package-specific settings ... section Getting_translation_strings_right\ Getting translation strings right text .rsj Resource String table in JSON format created by FPC 2.7.1 for units with "resourcestring" section Using_resourcestrings\ Using resourcestrings

  4. BitHelpers

    MyQuadword.LowestBitPos 2 MyQuadword.BitsCount 10 ToBinString custom formatting ToBinString() can follow custom formatting when needed. Binary string output can be changed permanently by modifying fields of DefaultHelperFormatSettings global record, or temporary ... false); < 100 > and then permanent format example: pascal procedure TForm1.ChangeFormatBtnClick(Sender: TObject); var MyQuadWord: qword; begin MyQuadWord : 1125899940409401; // all DefaultHelperFormatSettings fields are empty strings by default, so we change them

  5. Pas2js Transpiler

    expects a record of a specific format and TObject.Dispatch calls the corresponding method with that message number or string.\ The procedure modifier message \< integer> adds an entry to hidden YourClass ... left to fill up to 10 characters. str(aDouble:1:5) returns a string in decimal format with 5 digits for the fraction. - Intrinsic procedure WriteStr(out s: string; params

  6. Pcap

    strings (host name, port, ...), and it returns the complete source string according to the new format (e.g. 'rpcap://1.2.3.4/eth0'). X X X pcap_datalink Return the link layer ... pcap_open_offline Open a savefile in the tcpdump/libpcap format to read packets. X pcap_parsesrcstr Parse the source string and returns the pieces in which the source

  7. WriteStr

    Procedure procedure writeStr (https://www.freepascal.org/docs-html/rtl/system/writestr.html) formats arguments using the same syntax as Write write / writeLn , but the destination is a String string variable. It is an Extended Pascal extended ... destination parameter, the first argument, has a smaller capacity than the concatenated formatted strings, the result is clipped to the left, i. e. only the first x characters will

  8. PHASH

    ExceptionType; begin description : MagickGetException(wand, @severity); WriteLn(Format('An error occurred. Description: %s', description )); description : MagickRelinquishMemory(description); Abort; end; function pad(msg:string;len:byte):string; var par : byte; begin ... result + format('%.2d', part )+':'; end; if time > 0 then result : result + format('%.2d', t ); end; function gethash:string; var intermediate : array 0..7,0..31 of real

  9. Lazarus 1.2 fixes branch

    LazSvnLink 1 "44953" LeakView updated Russian translation :tpl LazSvnLink 1 "45014" jsonviewer fixed string formatting argument :tpl LazSvnLink 1 "45035" PoChecker fix crash caused by passing not enough parameters ... Format() :tpl MantisLink 1 "0026167" . :tpl LazSvnLink 1 "45370" LazReport check variable existence before trying to show it's composition (variables editor form), from Michel Tournay, :tpl MantisLink

  10. LazLogger

    array of const: DebugLn(\ 'Foo ', 1, ' Bar ', anInteger\ ); - Same arguments as Format(). String + array of const: DbgOut('a %d',\ 1\ ); Also there are many dbgs functions. Each converts a common

  11. Using resourcestrings

    resourceString section. For the above program it looks like this (pretty-format added): json "version": 1, "strings": "hash": 20229140, "name": "helloworld.hello", "sourcebytes ... Implement a unit that loads the other format at runtime run-time . Routine Routines to directly manipulate a program’s resource string tables, i. e. the extra level of indirection

  12. TBGRACustomBitmap and IBGRAScanner

    Save image to a file. The format is guessed from the file extension. filename is an ANSI string - tr - colspan 3 - tr - td - colspan 2 procedure SaveToFile( const filename: string ... Save image to a file. The format is guessed from the file extension. filename is an ANSI string - tr - colspan 3 - tr - td - colspan 2 procedure SaveToFileUTF8( const filenameUTF8: string

  13. Database metadata

    www.freepascal.org/docs-html/fcl/sqldb/tsqlconnection.getconnectioninfo.html) Clarification: - citServerVersion : the server version is returned in the form of a string formatted as a number (e.g. 0205 representing 2.5) if the T\ Connection in question does

  14. LazLogger/ru

    Массива констант: DebugLn(\ 'Foo ', 1, ' Bar ', anInteger\ ); - Тех же аргументов, что и Format(). String + array of const: DbgOut('a %d',\ 1\ ); Также есть множество функций dbgs , которые преобразуют общие типы

  15. TStringGrid

    comma. It may be necessary to use typecasting functions to get data into a string format. Variables can be referenced, or simply shown as text

  16. CudaText plugins

    next marker. Last marker is usually placed after the entire tag, ie after ">" bracket. Format of snippet files Snippets tab-stops Specify tab-stops in the snippet text like this ... path separator: backslash on Windows, slash on Unix $\ date\:nnnn - Current date/time formatted by string "nnnn"; see Python docs (http://strftime.org/) $\ env\:nnnn - Value of OS environment variable "nnnn

  17. Working With TSQLQuery

    handy: pascal procedure InsertRecord var aSQLText: string; aSQLCommand: string; begin aSQLText: 'INSERT INTO products(item_no, description) VALUES(%d, %s)'; aSQLCommand: Format(aSQLText, strtoint(Edit1.Text), Edit2.Text ); aConnection.ExecuteDirect(aSQLCommand); aTransaction.Commit ... parameterized queries. The parameter %d is used for integers, %s for strings; etc. See the documentation on the Format function for details. :::warning Be aware that you may run into

  18. System unit structure

    particular platform doesn't provide pointer to a fixed location for these strings in required format). InitArguments Only needed for platforms not providing access to ArgC, ArgV and/or CmdLine variables

  19. User Changes 3.2.0

    field is redundant. - Remedy : Use the GUID field and convert that to a String. RTTI Binary format change - Old behavior : References to other types are designated by PTypeInfo. - New behavior ... introduction of the support for dynamic packages and the rules of the PE file format (Windows) that need to be played by. - Remedy : If you don't access the binary

  20. MbColorLib

    gradient defined by the specified color array - Assign a stringlist with color strings (in rgb format) to the Colors property; an additional list with color names can be assigned ... reader accepts palette files in the JASC .pal and Photoshop .aco and .act formats. ColorList and ColorTree :img Component palette icons of the TmbColorList and TmbColorTree src "/_files/Colorlist_colortree.png" .floatleft TmbColorList