Search

Results 321 to 340 for string formatting.

  1. MacOS NSAlert

    function alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat(message_: NSString; defaultButton: NSString; alternateButton: NSString; otherButton: NSString; format: NSString): NSAlert; varargs; message 'alertWithMessageText:defaultButton:alternateButton:otherButton:informativeTextWithFormat:'; deprecated ... Display error message with 3 buttons as a modal sheet procedure ModalErrorSheetWithButtons(const ErrorMsg: string; ParentWindow : NSWindow); var Alert : NSAlert; begin Alert : NSAlert.alloc.init; Alert.setAlertStyle(NSCriticalAlertStyle); // If you want to change

  2. MacOS Programming Tips

    Bundle pascal $mode objfpc $H+ $modeswitch objectivec1 ... uses CocoaAll; // for NSBundle ... function GetBundlePath: string; begin Result : NSBundle.mainBundle.bundlePath.UTF8String; end; This returns the full path up to and including the application ... subtitle file associated with a movie) or for saving modified files in a different format (such as re-saving an RTF flat file as an RTFD container after the user

  3. Netware

    that fpc currently only supports reading coff objects in the internal linker, the object format for netware has been changed to coff. Because nlmconv for binutils only supports coff, linking ... unloaded if none of the exported symbols are in use. COPYRIGHT Specifies the copyright string that will be shown when the nlm is loaded. The text must be enclosed

  4. Porting Free Pascal Example

    binutils. As the current binutils (2.20) are not "up to date" regarding the output format of Minix we will use the port provided by the Minix distribution. svn --username anonymous ... nativent $endif nativent + $ifdef minix + ,i_minix + $endif minix ,globtype; function Compile(const cmd:string):longint; Index: utils/fpcm/fpcmake.ini --- utils/fpcm/fpcmake.ini (Revision 15151) +++ utils/fpcm/fpcmake.ini (Arbeitskopie) @@ -972,6 +972,14 @@ SHORTSUFFIX nativent endif

  5. Publish project on Launchpad

    Short description of package. HomePage: http://project-homepage.xx/ For section you can use only predefined strings. See question here < http://askubuntu.com/questions/722597/what-packages-sections-are-available-for-trusty> rules file: make !/usr/bin/make -f Set temporary HOME ... with lazdebian -- Username < email@email.xx> Sun, 27 Nov 2016 00:51:08 +0100 copyright file: Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: Copyright: 2016 Creator name License: GPL-2+ This program is free

  6. TAChart Tutorial: Stacked BarSeries

    when you see the data. Before using the "real data" we'll arrange and format the chart to our liking. For this purpose it is advantageous to get a quick ... record pascal type TChartDataItem packed record public X, Y: Double; Color: TChartColor; Text: String; YList: TDoubleDynArray; ... end; This is the internal structure of the data plotted in a series. Besides

  7. TAChart documentation/uk

    labels. If the DateTimeFormat property is set, it is used to format all labels. Formatting is performed with standard SysUtils.FormatDateTime (http://www.freepascal.org/docs-html/rtl/sysutils/formatdatetime.html) function. If DateTimeFormat is empty, format ... flag is not in the set, corresponding parameter is ignored. - NiceSteps is a string containing a sequence of "step multipliers" -- floating point values in the range from

  8. Whole Program Optimization

    Pass1 and Pass2. Then, in your About page code which generates the descriptive text string, add: \ $IFDEF WPO +'\ WPO build\ ' \ $ENDIF . When to use Since whole program optimization requires multiple ... using such previously collected information (using -OwSymbolliveness or -Owall), these limitations do not apply. Format of the WPO feedback file This information is mainly interesting if you want

  9. ZSeries/Part 2

    even if the references for both are not on the same page. The format of the first line is generally like this (items not used will not appear ... TsystemCpu will be adjusted to compensate): cpu2str : array TSystemCpu of string 10 (,'i386','m68k','alpha','powerpc','sparc','vm','ia64','x86_64', 'mips','arm', 'powerpc64', 'avr', 'mipsel'); becomes: cpu2str : array TSystemCpu

  10. Basic Pascal Tutorial/Chapter 1/Programming Assignment

    display data, use: pascal writeln (argument_list); The argument list is composed of either strings or variable names separated by commas. An example is: pascal writeln ('Sum ', sum); Here ... method for real numbers is scientific notation. Chapter 2 will explain you how to format it to fixed-point decimal. To see one possible solution of the assignment

  11. Com Programming in Free Pascal

    sticky_issues on&sortby last_updated&dir DESC&hide_status_id -2&tag_string com). Some of these also have nice demos attached. See also closed bug :tpl MantisLink ... integrate MIDL.exe (wine old version of MIDL has an incorrect output format :( ) try building latest WIDL -> report bugs to wine create TAutoObject finish tlbimp.exe (bug 0014802) TEST, TEST, TEST :) serious

  12. Developing Python Modules with Pascal/ru

    IFDEF IS32BIT 'Py_InitModule4' $ELSE 'Py_InitModule4_64' $ENDIF ; function PyArg_ParseTuple(args : PyObject; format : PAnsiChar) : c_int; cdecl; varargs; external PythonLib; //Заметьте, что varargs позволяет нам эмулировать переменное количество ... Methods 1 .meth : @ConcatTwoStrings; Methods 1 .flags : METH_VARARGS; Methods 1 .doc : 'Tests passing strings to and from module function'; Methods 2 .name : nil; Methods 2 .meth : nil; Methods

  13. FPC git

    same works in git: git log This will list the commit hashes (the string that git uses to identify commits, similar to revision numbers in svn) followed ... hashes by something like: bash cat filewithrevs xargs -n 1 git log --grep 'trunk@ ' --format '%H' > filewithhashes Submitting a request to merge/cherry-pick a certain commit to fixes Using Gitlab allows

  14. FpCEF3

    handler of the form: pascal procedure TForm1.FormCreate(Sender: TObject); var PrjPath: ustring; Lang, FallbackLang: string; begin PrjPath : UTF8Decode(GetCurrentDir + PathDelim); CefLocalesDirPath : PrjPath + 'locales'; GetLanguageIDs(Lang, FallbackLang); CefLocale : UTF8Decode(FallbackLang); edtURL.Text ... TForm1.Button1Click(Sender: TObject); var CefPdfPrintSettings: TCefPdfPrintSettings; EmptyCefStringUtf16: TCefStringUtf16; begin SaveDialog1.DefaultExt : 'pdf'; SaveDialog1.Filter : 'Portable Document Format (pdf) .pdf'; if SaveDialog1.Execute then begin FillByte(EmptyCefStringUtf16, SizeOf(EmptyCefStringUtf16), 0); CefPdfPrintSettings.backgrounds_enabled : 1; CefPdfPrintSettings.header

  15. Fpcup

    normal binutils but cross binutils). Often, you will also need libraries in target system format if you want to compile programs (e.g. Linux Qt or Gtk libraries for the relevant ... download page may be updated at the same time; fpcup prints a version string at the beginning which you can check. The commit log is located at < https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/commits/master

  16. Fpsonar comments

    from the currently loaded lines. TrackStringLiterals info · on by default · parameter: a pattern Reports string literals matching a pattern. Its real use is auditing: find hardcoded paths, embedded URLs ... instance despite the Pointer alias this is not pascal FreeAndNil(L); Related chapters Comment formatting — trailing whitespace, line length — is in fpsonar_layout layout . The FPC copyright-header requirement

  17. Fresnel CSS Algorithm

    blocks - child and parent top/bottom-margin collapse if there is no separation (padding, border, block formatting context) - empty block: no padding, border and content height 0, then margin-top+bottom collapse ... columns - grid-template-rows : same as grid-auto-columns - grid-template-areas : none or strings - grid-area : area, 1-4 slash separated col-start / row-start

  18. IDE Window: Editor Options Code Folding

    showing Object Pascal files (\ .pas, \ .pp, \ .lpr etc.), HTML, XML, standard text diff format files, or form files created by the Designer (usually named \ .lfm or \ .dfm). For the editor ... compiler warning. \ %region is not recognized if it occurs inside a comment or string, so a : ' %region '; does not start a foldable block You can specify %region /fold

  19. Lazarus 0.9.30 release notes

    Window:_Codetools_Options Indentation here . - identifier completion now completes compiler predefined types like String, AnsiString, Byte, Boolean, etc and completes some keywords depending on context (e.g. property modifiers like read ... Single Instruction step (over/into) - UI Improvements: Toolbars for Watches, Breakpoints, Disassembler - Watches: Enabled display formats (mem-dump, Hex, Default, ..) - Disassembler added navigation: jump to address / return to execution point - Improved

  20. Lazarus 1.4.0 release notes

    part of BigIde). It means all hints and info panels have a nice HTML formatting with colors and links for sources. The package could be installed also earlier ... TMemo, TTextStrings and TCustomStringGrid: changed behaviour of LoadFromFile/SaveToFile - Effect: LoadFromFile/SaveToFile respectively LoadFromCSVFile/SaveToCSVFile now take strings in UTF8-encoding (was: system encoding) as their parameter. - Reason: LCL uses UTF8 internally; consistency