Search
Results 241 to 260 for string formatting.
- Reference: MSEgui
FALSE if not found, and NIL and TRUE if "namepath" '' function findwidget(const namepath: string; out awidget: twidget): boolean; // rebuilds the application's window list accorrding to the current ... application name // ( defaults to the full path to application executable in the native OS format ); // currently, only for informatiion query purposes property applicationname: msestring read fapplicationname write fapplicationname; // if exclusive
- Assembler and ABI Resources
where possible links to unofficial mirrors are given below for casual reference. Assembler source formats Assembler source emitted by the compiler's code generator has to be (a subset ... command gcc -S -o hello.asm hello.c apparently assuming -march g5, generates this: .LC0: .string "Hello, Linux!" .text .align 4 .globl main .type main, @function main: .LFB2
- FPC JVM Android Development
that the generated \ .class files need to be converted to the Dalvik's DEX format and combined with the resource package and the manifest these build a unsigned package (extension ... menu (layouts for the menus (context menu, options menu)) \- values (containing for example strings used by the application) \- src (the source code of your application) The manifest file A basic
- FPC JVM/Language
future. The currently supported system routines are randomize/random , copy (on arrays and strings), halt , lo/hi , abs , sqr , odd , endian swapping routines, ror\ /rol\ /sar\ /bsf\ /bsr\ , upcase/lowercase , runerror , insert ... files . While include files will work fine at compile time, the Java class file format does not support referring to more than one source file. As a result, the compiler
- IDE Window: Project Options
excluded by entering its text in the column "Originals"; alternatively the string tform1.button1.caption can be entered in the list "Identifiers" (this assumes that the button is named Button1 and sits ... Lazarus versions. Some of these features support storing some simpler values in the old format as well, so an old IDE can load it. For example in Lazarus
- FpDebug
Pascal. In detail: - FpDebug is written in Pascal - FpDebug uses the DWARF debug info format - The current implementation is a subset of DWARF with support for DWARF version ... still a good way off. FpDebug does not even do function calling yet. Strings (vs PChar and Array of Char) Originally DWARF had no concept to encode strings. This
- Lazarus Tutorial
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 ... application will be the .dpr file. It is stored in an XML format and contains instructions about all the libraries and units required to build the executable file. again.lpr
- Fractions
only makes sense f the function returns True - function StrToFractionDef(const S: String; Def: TFraction): TFraction; - returns the fraction represented in S if conversion succeeds, otherwise returns Def Example program ... begin Prec : Prec / 10; F2 : FloatTofraction(Pi, Prec); writeln('FloatTofraction(Pi,',Prec:10:10,') ',Format('%-13s', F2.Resolve ),' ',F2.ToFloat:16:16,' '); end; end. This outputs: F1.ToString 4/3 F1.Resolve 1 1/3 F1.ToFloat
- GridPrinter
GridPrinter About ! GridPrinter (/_files/GridPrinter_v0.2.0.png "GridPrinter") TGridPrinter is a component to simplify printing of string grids or other descendants of TCustomGrid. It is bundled together with a ready-made print preview ... select the printer, the paper size and the page orientation. Can individual cell formatting by the OnPrepareCanvas event be applied to the printout? Yes. The TGridPrinter fires an OnPrepareCanvas event
- International Bank Account Number
comprising a country code, two check digits and a bank account number. Country IBAN formatting example -------------- ----------------------------------------- Belgium BE71 0961 2345 6769 Brazil BR15 ... iban; $mode objFPC $H+ Uses StrUtils, SysUtils; // Calculate Modulo 97-10 function StrMOD97(s: String): integer; const modu 97; var sx: String; isx, ic, p: Integer; begin p : Length
- Lazarus Tutorial/zh CN
Copy ) are performed in this part of the object, which holds the actual string being edited. If the control contains more than a single line of text, for example TMemo ... 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
- SQLite/ru
date value formated YYYY-MM-DD DEFAULT (time('now','localtime')) for time value formated HH:MM:SS Устранение неполадок SQLDB и SQLite - Имейте в виду, что для поддержки работы времени ... перегруженных процедур: pascal interface procedure RefreshADatasetAfterInsert(pDataSet: TSQLQuery);overload; procedure RefreshADatasetAfterInsert(pDataSet: TSQLQuery; pKeyField: string);overload; implementation procedure RefreshADatasetAfterInsert(pDataSet: TSQLQuery; pKeyField: string); // Эта процедура обновляет набор данных и помещает
- Creating IDE Help
search help for various things and there are various sources in various help formats. Here is a short list to understand the complexity: - FPC messages : compiler message like Error: Illegal ... type of database you like private FKeywordPrefixNode: THelpNode; public function GetNodesForKeyword(const HelpKeyword: string; var ListOfNodes: THelpNodeQueryList; var ErrMsg: string ): TShowHelpResult; override; function ShowHelp(Query: THelpQuery; BaseNode, NewNode: THelpNode; QueryItem
- FindAllFiles
SearchMask: String ''; SearchSubDirs: Boolean True; DirAttr: Word faDirectory); function FindAllFiles(const SearchPath: String; SearchMask: String ''; SearchSubDirs: Boolean True): TStringList; FindAllFiles looks for files matching the SearchMask in the SearchPath directory ... FindAllFiles(PascalFiles, LazarusDirectory, ' .pas; .pp; .p; .inc', true); //find e.g. all pascal sourcefiles ShowMessage(Format('Found %d Pascal source files', PascalFiles.Count )); finally PascalFiles.Free; end; // or begin //No need to create
- FindAllFiles/ru
SearchMask: String ''; SearchSubDirs: Boolean True; DirAttr: Word faDirectory); function FindAllFiles(const SearchPath: String; SearchMask: String ''; SearchSubDirs: Boolean True): TStringList; FindAllFiles ищет файлы, соответствующие маске поиска, в каталоге SearchPath и, если ... PascalFiles, LazarusDirectory, ' .pas; .pp; .p; .inc', true); //находим, например, все исходные файлы паскаля ShowMessage(Format('Found %d Pascal source files', PascalFiles.Count )); finally PascalFiles.Free; end; //или begin //Нет необходимости создавать список
- Lazarus 1.4 fixes branch
create properly sized device context in GetDC(). :tpl MantisLink 1 "28106" - r49121 LazReport, when formatting numbers check that value is really numeric :tpl MantisLink 1 "28114" - r49154 LazReport, fix loading ... displaying files in connected ShellListView. :tpl MantisLink 1 "0027571" . - r48070 lazutils: TFileStreamUTF8: fixed string type - r48072 TShellTreeView: when a TShellListView is attached, handle selecting items that do not exist anymore
- Lazarus 2.2 fixes branch
r65479 GdbMiDebugger: fixed reporting OutputDebugString messages - r65488 FpDebug: remove double line break from formatted watches. - r65489 Debugger: Remove linefeeds for locals dialog. Issue 0039212 - r65490 Add DbgS for FormStyle. - r65491 ... characters. - a669e084 TComboBox: update ItemIndex in RealSetText also if Text is empty string. :tpl LazIssue 1 "39366" . - 2e98d119 T(Float)SpinEditEx: set Modified to False if Value
- Lazarus on Raspberry Pi
byte; testnr\:integer) : string; function i2c_string_write(baseadr,reg\:word; s\:string; testnr\:integer) : integer; ... procedure SPI_Write(devnum\:byte; reg,data\:word); function SPI_Read(devnum\:byte ... aLine.GetValue; if (gpioValueError aValue) then begin WriteLn('Read line input failed'); Exit; end; WriteLn(Format('Input %d on line %d', Integer(aValue) - 1, aLineNum )); sleep(1000); end; finally TGPIOD.LibsUnLoad
- Shared library
platforms) the ABI .init and .fini sections or similar constructs in other binary formats. - Leave the above initializers mostly empty sections, and enforce an own order using ... Oriented Programming) - use simple types in the interface procedures, avoid usage of - ANSI / Unicode strings (non OLE-bases). ShortStrings are ok. - explicit dynamic strings (open arrays are ok) - classes
- Shared library/ru
platforms) the ABI .init and .fini sections or similar constructs in other binary formats. - Leave the above initializers mostly empty sections, and enforce an own order using ... Oriented Programming) - use simple types in the interface procedures, avoid usage of - ANSI / Unicode strings (non OLE-bases). ShortStrings are ok. - explicit dynamic strings (open arrays are ok) - classes