Search
Results 281 to 300 for string formatting.
- CGI Web Programming
GetEnv('HTTP_COOKIE'); writeln('cookies:',a); // demonstrate GET result a: ''; a: GetEnv('QUERY_STRING'); writeln('GET: ',a); // demonstrate POST result a: ''; while not eof(input) do begin read ... endif MSWAIT 2000; var AProcess: TProcess; initialization AProcess : TProcess.Create(nil); $ifdef windows AProcess.CommandLine : format('cmd /C START "Debugging %s" /WAIT "%s" "%s" %d"', paramstr(0),debugger,paramstr(0),GetProcessID ); $endif
- CGI Web Programming/ru
GetEnv('HTTP_COOKIE'); writeln('cookies:',a); // данные, переданные методом GET a: ''; a: GetEnv('QUERY_STRING'); writeln('GET: ',a); // данные, переданные методом POST a: ''; while not eof(input) do begin read ... endif MSWAIT 2000; var AProcess: TProcess; initialization AProcess : TProcess.Create(nil); $ifdef windows AProcess.CommandLine : format('cmd /C START "Debugging %s" /WAIT "%s" "%s" %d"', paramstr(0),debugger,paramstr(0),GetProcessID ); $endif
- Colors
TColor to a nice string like "clNavy" or "$AA0002": - ColorToString Convert TColor to/from HTML string rrggbb See code in Convert color to/from HTML . Table of standard colors About 20 predefined ... TColorbox: procedure TForm1.ColorBox1Change(Sender: TObject); var c: TColor; begin c : ColorToRGB(ColorBox1.Selected); Caption : Format('R%d G%d B%d', Red(c), Green(c), Blue(c) ); end; Drawing theme elements
- IDE Development
directory. This directory can then be used by the project to load the strings at runtime. And installers can copy the content. - standardize filenames and path, so that loading ... open - Tutorial - Documentation The jedi code formatter Short Description Working - Pressing ctrl+D will format your source file - Settings are stored and read by IDE from JCFSettings.cfg file - port
- Issues 3.2.0
Language Reference, Programmer's Guide, and User's Guide CHM files have an odd string on their first page: "mei 2019". Additionally the accented letters in author names aren ... some with just '-h' as a parameter. All do have correct binary format but not all will accept that '-h', of those, most examined my '-h' and rejected
- Lazarus 0.9.28 release notes
been integrated (without an ability to customize settings at moment): use Ctrl+D to format your source code Codetools enhancements: - empty published methods (event handlers) can be removed automatically ... issue 14126 - update function descriptions, part of issue 14133 - workaround for TimeToStr returning empty string on some locales, issue 14095 - fix designer freeze when using Help context button, issue
- Lazarus 1.0 release notes
package) - Windows Metafile (separate package) - FPVectorial (separate package) - Navigation components: TChartNavScrollBar, TChartNavPanel - Legend: - Item format - Multiple columns, fill direction - Ordering and grouping - SymbolFrame property - OnCreate event - New components: TChartListbox, TChartExtentLink ... compatibility. - Remedy : To keep old behavior set CustomEditMask to True ENTER Key behavior on String Editor The String Editor Dialog (e.g. TMemo.Lines OI's editor) now closes itself when
- MacOS Static Libraries
necessary $LinkLib test program statlibdemo; // Declare our function function cvtString(strIn : string) : PChar; Cdecl; External Name 'cvtString'; begin WriteLn(cvtString('hello world')); end. Compile: fpc statlibdemo.pas which unexpectedly produces: text ... file by running the objdump command line utility: asm $ objdump -d test.o test.o: file format Mach-O 64-bit x86-64 Disassembly of section __TEXT,__text: _TEST_$$_CVTSTRING$ANSISTRING$$PCHAR
- New IDE features since
dependency or via the package graph. ! (/_files/Cleanuppackagedependencies1.png) Auto-continue for comments and strings Project Additions and Overrides Projects can now add compiler options to packages and override the output directories ... windows and Object Inspector info box have HTML rendering by default Hints showing suitably formatted text give the IDE a more professional appearance, and the documentation shown usually includes clickable
- ZSeries/Part 1
objects, no strings (you can do "array \ 1..256\ of character" but concatenating two strings? Write your own function!), and doesn't even come up to the level of capability ... movie The Godfather is the answer to everything!) Or let's consider formatting style: Which of the following is the correct way to format a block of code
- CudaText VS other editors
lexers (ST has only plugin for very limited set of languages) - Powerful EControl lexer format, and it's easier to create/edit lexers (GUI in external program) - Floating (separate window) mode ... Find/Replace dialog, and mouse clicks - CudaText and its plugins support i18n (text strings can be translated) - Function "Find in files" is CudaText_plugins FindInFiles implemented in plugin , with much more
- Eye-Candy Controls
lesser than Images.Count 4. When the OnDrawGlyph is not assigned, Caption is empty string and ImageIndex is -1 then built-in glyph is used. There is five sets of styles ... /_files/Teceditbtn.png) TECColorBtn Visual component for selecting color. Line edit displays color code in various formats and associated button triggers color dialog. ! (/_files/Teccolorbtn.png) Color of the glyph on the button corresponds
- FPReport Usage/ru
Procedure SavetoJSON(aJSON : TJSONObject); virtual; Procedure LoadFromFile(const aFileName : String); Procedure SaveToFile(const aFileName : String); Property DataManager : TFPCustomReportDataManager; end; Он также может сохранять дизайн в формате JSON в файле lazarus.lfm ... для поддержки SQLDB. You must make sure to include the units for the data formats that you need in your project file. If you fail to do so, you will
- Fpwebfile
registered with the followin class method: pascal Class procedure RegisterFileLocationAPI(Const aPath,aPassword : String); For example, the following call: pascal TFPWebFileLocationAPIModule.RegisterFileLocationAPI('_locations','mysecret'); Will enable the following REST ... omit the fmt 1 query parameter then the returned JSON will not be formatted. POST a POST command will register a new location. The content-type must be application/json
- Glossary
concessions to ease of user interface. FORTRAN suffered from a rather rigid syntactic and formatting structure, though later versions have developed softer edges and make a few concessions ... Integer; screen coordinates to define button's position Height, width: Integer; Color: TColor; Caption : String; Procedure OnClick; method invoked when the mouse is clicked on the Button's image
- IDE Macros in paths and filenames
would equate to: lib/x86_64-linux There are also some macro functions that use the following format: $macro_name(parameters) For example $Ext(unit1.pas) will give .pas . Windows: Compiling to a RamDrive ... translated name of the current language. For instance: Deutsch for German. - LazVer - Version string of the IDE (since 1.3). - FPCVer - FPC version (since 0.9.25). For example '2.4.2'. This version
- Inotify
size of largest expected inotify_event size maxExpEventSize sizeof(inotify_event) + name_max; // resource strings resourcestring warning '⚠: '; error '↯: '; closeInotifyFDfailed 'closing inotify file descriptor failed'; disassocInwdFrInfdFailed 'disassociating inwd from infd failed ... watch(infd, watchedPath, in_all_events); if inwd < 0 then begin writeln(stderr, error + format(addingWatchedPathToInotifyWatchListFailed, watchedPath )); // optional: retrieve errno with fpgeterrno() halt(2); end; addExitProc(cleanUpInWD); // avoid
- Lazarus 4.0 release notes
above or below the edit. TTimeEdit - New properties TimeFormat and TimeSeparator for more flexible formatting of the time output. TFilenameEdit - Old behaviour: InitialDir was unchanged after user executed the dialog ... combos for matching words according to their "context" (e.g. don't group code with strings or comments) - Added ability to add custom cells from selection - Added ability to resize cells
- Lazarus 5.0 release notes
This overload is deprecated and will be removed in the next major release. - Culprit: String (out parameter). If the function fails, it contains the name of the first file ... TPersistent to Pointer to avoid object checks on freed memory. LPI (Lazarus project file) format changed The LPI format changed between file version 12 and 13. Lazarus 5.x reads
- Lazarus Resources
which should be compiled into the executable file. That data could consist of images, string tables, version info, ... even a Windows XP manifest and forms. This includes data that ... above, using "normal"/Windows resources is now possible. Lazarus has also switched to this format since ver. 1.4; see Lazarus 1.4.0 release notes ::: In order to use your files