Search

Results 161 to 180 for string formatting.

  1. MSX-DOS

    changed using the $MEMORY directive as documented here (https://www.freepascal.org/docs-html/current/prog/progsu102.html x110-1110001.3.19). The format of the directive is $MEMORY StackSize,HeapSize Known problems This is a list of currently ... correctly set the filename (code generator problem?) - HexStr() does not result in correct hex strings (code generator problem?) - MkDir(), ChDir(), RmDir() are not implemented (MSX-DOS does not seem

  2. Read

    instead of \ other appearances asterisk has the numeric value 42\ ). While char and string can be stored (sort of) directly, the numeric types integer and real are converted following certain ... your (Standard) Pascal source code. However, some compilers’ read implementation (here FPC) allow additional formats: An integer’s hexadecimal base can be indicated by prepending 0x , or just x (case

  3. Projects using Lazarus - Developer utilities

    platform IDE for the D language (http://dlang.org/). It features: - full featured project format and advanced project editor. - compile and run directly from the UI. - instant run (without saving ... symbol list. - static libraries manager. - search and replace. - user-defined tools powered by a string interpolation system. - D Completion Daemon (https://github.com/Hackerpilot/DCD) integration for completion proposal and source code

  4. Windows Credential Storage

    password : WideCharToWideString(PWideChar(Credential^.CredentialBlob), Credential^.CredentialBlobSize div 2); //By convention blobs that contain strings do not have a trailing NULL. finally CredFree(Credential); end; Result : True; end; function CredWriteGenericCredentials ... Target); //cannot be longer than CRED_MAX_GENERIC_TARGET_NAME_LENGTH (32767) characters. Recommended format "Company_Target" Credentials.Type_ : CRED_TYPE_GENERIC; Credentials.UserName : PWideChar(Username); Credentials.Persist : CRED_PERSIST_LOCAL_MACHINE; Credentials.CredentialBlob

  5. Write

    Mode extendedpascal $mode extendedPascal this value specifies the exact width of Boolean , char and string values, thus 'X':0 will emit nothing. Floating-point variables may have another colon ... number of decimal places after the decimal-period. Also, by the specifying the second format specifier, the default scientific notation is turned off. Execution Calling write / writeLn will write

  6. Using macOS Sheets

    Form1: TForm1; implementation $R .lfm TForm1 ... procedure ShowAlertSheet(FormHandle: HWND; const TitleStr, MessageStr: string); var tNSStr, mNSStr, okNSStr, fNSStr: NSString; theWindow : NSWindow; theID : id; begin theID : NSView(FormHandle).window; theWindow ... message okNSStr: NSString(CFStringCreateWithPascalString(kCFAllocatorDefault, 'OK', kCFStringEncodingUTF8)); // button caption fNSStr : NSString(CFStringCreateWithPascalString(kCFAllocatorDefault, '%@', kCFStringEncodingUTF8)); // format NSBeginAlertSheet(tNSStr,okNSStr,nil,nil,theWindow,theID,nil,nil,nil,fNSStr, mNSStr

  7. CsvDocument

    created to exchange data with OpenOffice Calc / MS Office Excel using CSV as intermediate format. Its main characteristics are: - Random read/write access to CSV fields based on object model (TCSVDocument ... Windows-xxx codepages can be used with the CsvDocument library. The library uses string type for all string operations and will not do any encoding conversion for you. Keep

  8. Developing with Graphics/ru

    но должна дать представление: pascal procedure PaintAliased(Canvas: TCanvas; x,y: integer; const TheText: string); var w,h: integer; IntfImg: TLazIntfImage; Img: TBitmap; dy: Integer; dx: Integer; col: TFPColor; FontColor ... влияения на GTK. Форматы изображений Вот таблица с правильным классом для каждого формата изображения. Format Image class Unit ------------------------------ ----------------------- -------- Cursor (cur) TCursor Graphics Bitmap (bmp) TBitmap Graphics Windows icon (ico) TIcon

  9. Mac Show Application Title, Version, and Company

    version area is left blank (the "(v)" is not displayed). - Copyright Uses the string value of the NSHumanReadableCopyright key from the Info.plist file. If not found, the copyright area ... Note that the capitalization of the file name is important. By using the HTML format, you can include links if necessary (eg to your web site). The Info.plist macOS property

  10. TAChart Demos

    width 180 .floatright.thumb The project "axis" shows some fundamental and advanced aspects of axis formatting and layout in a multi-page form: Page Customized marks demonstrates how painting ... assigning a handler to the axis event OnMarksToText : pascal procedure TForm1.ChartCustomMarksAxisList1MarkToText(var AText: String; AMark: Double); begin if AMark 3 then AText : ' ' + AText + ' '; end; :img src "/_files/Axis_axis_groups.png" width 180 .floatright.thumb

  11. Data Structures, Containers, Collections

    list, without event notification feature, faster than TList - TStrings : Manages a list of strings, can search, split, save to / load from file, store objects, act like associative array ... list of bits (0 or 1), useful for bit-map (not bitmap image format) - TCollection and TCollectionItem: Forms basic management of named items - Generics FGL (Free Generics Library) - TFPGList - TFPGObjectList

  12. Translations / i18n / localizations for programs

    Resourcestrings are like normal string constants, that means you can assign them to any string: pascal Label1.Caption : HelloWorld1; Compiling into .po files Resourcestrings are compiled into .po files ... want to compile it to .mo to load it faster since is a binary format. To convert to .mo you can use poedit and go to File > Compile

  13. UEFI

    screen using an UEFI method. April 2017 After observing that an annoying bug about string constant was fixed, i have resumed my work on this target. Currently, here ... check if the 'uses' problem is related to the use of PE32 binary format. UEFI is supposed to use PE32+ (with 64 bits relocations). UEFI specifications are not clear whether

  14. FPC and Apache Modules/ru

    parms; struct_ptr: Pointer; const arg: PChar): PChar; cdecl; external LibHTTPD name 'ap_set_string_slot'; This is the same as AP_DECLARE, but the calling convention is cdecl ... комбинации APR_DECLARE_NONSTD(int) apr_file_printf(apr_file_t fptr, const char format, ...) function apr_file_printf(fptr: Papr_file_t; const format: PChar; others: array of const

  15. TDebuggerIntf

    following methods must be implemented for TDebbugerIntf - GetSupportedCommands (or GetCommands ) - returns the set of formats that a debugger can perform - RequestCommand - the method actually performing commands. Only commands returned ... AParams: array of const): Boolean; override; function GetSupportedCommands: TDBGCommands; override; public class function Caption: String; override; end; procedure Register; implementation procedure Register; begin RegisterDebugger(TMiniDebugger); end; class function TMiniDebugger.Caption: String

  16. Mach-O

    information in the symbol table. Source: Wikipedia (http://en.wikipedia.org/wiki/Mach-O). The Apple file format reference can be found here (https://developer.apple.com/library/archive/documentation/Performance/Conceptual/CodeFootprint/Articles/MachOOverview.html) The following tools are used in macOS ... sections. The following information has been gathered from cctools sources (http://opensource.apple.com/source/cctools/cctools-667.3/) Structures strings Some structures in sections contain name pointers. These names are stored in the c-strings

  17. Fcl-pdf

    TFPFontCacheList.Create; g.SearchPath.Add('C:\Windows\Fonts'); g.BuildFontCache; for i : 0 to g.Count - 1 do Memo1.Lines.Add(Format('File name: %s > Font name: %s > Family: %s', g.Items i .FileName, g.Items i .HumanFriendlyName, g.Items ... some top part of the picture. pascal uses fppdf; procedure WritePictureToPDF(const APictureFilename, APdfFilename: string); var PDF: TPDFDocument; Page: TPDFPage; Section: TPDFSection; Paper: TPDFPaper; Index: Integer; W, H: Integer; begin

  18. Str

    string representation. However, bear in mind if the destination variable is a fixed -length string, no more characters than its maximum capacity can be stored. In this case any surplus ... This number, however, will determine the number of decimal places after the radix mark. formatting Specifying a second formatting for the real number representation will disable the usual scientific notation

  19. Example-TSynEdit-HTML

    example below is a TSynEdit used with a TSynHTMLSyn . The results are displayed as formatted HTML using a TIpHtmlPanel . ! (/_files/Component-TSynEdit%2BTIpHtmlPanel.png) pascal unit TipHtmlTest; $mode objfpc $H+ interface uses Classes ... procedure FormCreate(Sender: TObject); procedure MemoChange(Sender: TObject); protected public procedure ShowText( const txt: string ); end; var TipHtmlForm: TTipHtmlForm; implementation $R .lfm procedure TTipHtmlForm.FormCreate(Sender: TObject); begin if FileExists( htmfile

  20. File types (lowercase)

    Windows resource file (not binary) .ico The main project icon in Windows icon format .manifest Windows-specific manifest file for themes Types usually not added to VCS ------------- -------------------------------------------------------------------------------------------------------------------------------- Extension Description ... Unit file .res The result of compiling the rc file (binary) .rst Compiled resource strings. Used for L10n. If you intend to translate an application, this should probably be version