Search results

From Free Pascal wiki
Jump to navigationJump to search
  • {{Try}} ...ine>try</syntaxhighlight>..[[Finally|<syntaxhighlight lang="pascal" inline>finally</syntaxhighlight>]] [[Block|block]] or a
    2 KB (291 words) - 17:24, 6 August 2022
  • {{Finally}} ...regardless of whether the preceding <syntaxhighlight lang="pascal" inline>try</syntaxhighlight> block was fully executed or has been exited early (in cas
    3 KB (407 words) - 15:00, 14 August 2023
  • {{Except}} ...[Reserved word|reserved word]] that is only used in conjunction with [[Try|try]].
    621 bytes (68 words) - 17:24, 6 August 2022
  • ** [[If and Then|<syntaxhighlight lang="pascal" inline>if … then … end</syntaxhighl ...y, Except and Finally|<syntaxhighlight lang="delphi" inline>tryexceptfinally … end</syntaxhighlight>]] (poikkeukset)
    3 KB (335 words) - 17:16, 6 August 2022
  • try finally
    1 KB (49 words) - 12:48, 3 April 2024
  • | opens a file for reading and writing try
    2 KB (225 words) - 16:22, 12 April 2022
  • ...tomatic'' indentation. These options are either too simple or too complex. And the other editors only allow one set of rules, so editing sources with diff ...ules from the surrounding code. It does that by searching for similar code and copying the indent.
    6 KB (787 words) - 06:11, 16 February 2020
  • ** most prominently [[If and Then|<syntaxhighlight lang="pascal" inline>if … then … end</syntaxh ...y, Except and Finally|<syntaxhighlight lang="delphi" inline>try … except … finally … end</syntaxhighlight>]]
    3 KB (384 words) - 23:49, 24 June 2020
  • ...rst step to accessing CDDB is creating TCDDB. This is where the connection and application information is defined. TCDDB has some default values so you do First try using the MOTD (Message of the Day) command.
    3 KB (445 words) - 10:39, 2 December 2020
  • ...n tasks. It can be found on the [[SQLdb tab]] of the [[Component Palette]] and resides in the FBAdmin unit. It provides the following functionality: * backup and restore databases using single or multiple (split) files
    3 KB (441 words) - 05:50, 1 March 2020
  • ...ds or create an instance of the class and then use it's fields, properties and methods. ...their constructor. The instance will then be freed when the owner is freed and calling Free manually isn't necessary.
    1 KB (182 words) - 10:30, 23 February 2020
  • bzip2lib provides stream classes for bzip2 compression and decompression. It uses external bzip2 libraries. Unit bzip2lib is collected and edited from 2 unit files in [https://wiki.delphi-jedi.org/wiki/JEDI_Code_Li
    3 KB (402 words) - 16:34, 29 July 2020
  • ...rchMask in the SearchPath directory and, if specified, its subdirectories, and populates a [[TStrings|stringlist]] with the resulting filenames. ...versions of this routine. The first one is a '''[[Procedure|procedure]]''' and assumes that the receiving stringlist already has been created.
    3 KB (463 words) - 15:21, 26 April 2024
  • A light web server that supports HTTPS currently written with [[Synapse]] and Free Pascal: try
    3 KB (327 words) - 19:07, 1 May 2020
  • This argument must be assignment-compatible to and defines the functions result before actually transferring control to the fu
    5 KB (606 words) - 23:08, 22 January 2022
  • Here's a unit that works under both Windows and Linux try
    2 KB (264 words) - 01:36, 19 June 2020
  • {{Avoiding implicit try finally section}} ...try </syntaxhighlight>]] … [[Finally|<syntaxhighlight lang="pascal" inline>finally</syntaxhighlight>]] statement.
    7 KB (918 words) - 19:23, 22 January 2024
  • ...PCustomBrush</tt>''' is a fundamental property of <tt>TFPCustomCanvas</tt> and defines how a geometric shape is filled in ''fcl-image''. ***'''<tt>bsCross</tt>''' and '''<tt>bsDiagCross</tt>''' define a crossed pattern.
    7 KB (703 words) - 18:52, 24 November 2023
  • ...ree Pascal]] supports exceptions. Exceptions are useful for error handling and avoiding resource leaks. However, bear in mind that exceptions have a perfo ...t</syntaxhighlight>]], and [[Finally|<syntaxhighlight lang="pascal" inline>finally</syntaxhighlight>]] [[Reserved word|reserved words]] for use in your own co
    10 KB (1,373 words) - 05:59, 22 December 2023
  • * '''ReadLn''' - Read from a text file into variable and goto next line(读取文本文件并转到下一行) * '''WriteLn''' - Write variable to a text file and append newline(写入新行到文件)
    11 KB (792 words) - 00:38, 15 February 2020
  • TNameObject = class(TCollectionItem) // class for the 'obj' property and TCollection // Create Collection and StringList
    8 KB (606 words) - 14:50, 1 May 2023
  • <code>/dev/random</code> and <code>/dev/urandom</code> are two pseudo character devices providing user-l Following the paradigm “everything is a file” they usually exist on Unix and *nix-based operating systems, like [[Linux]] or [[FreeBSD]].
    6 KB (837 words) - 13:49, 28 September 2022
  • This class lets you compress and decompress '''.zip''' files. try
    4 KB (424 words) - 07:53, 23 February 2020
  • This example shows how to create dialog in runtime, and to add custom buttons in runtime: try
    2 KB (115 words) - 14:51, 3 May 2020
  • ...alent and older, just '''Text''') is used in a Pascal program to read from and write to a text file. try
    2 KB (286 words) - 10:14, 29 February 2020
  • ...ur) and in macOS 12 (Monterey), the notification daemon ignores the action and logs "error usernoted Denying message 3 from connection <LegacyConnection i try
    10 KB (817 words) - 07:49, 28 October 2021
  • ...gram a variable of type '''file''' may be used to read, write or both read and write to a file. A file variable is (usually) associated with a file on a d (See [[File Handling In Pascal]] for a more object oriented approach and more examples.)
    4 KB (692 words) - 00:14, 15 February 2020
  • * dt - may be included more than once and specifies what to return in the reply * rm - transcription / transliteration of source and translated texts
    5 KB (580 words) - 07:13, 16 December 2021
  • try finally
    3 KB (450 words) - 13:48, 6 May 2020
  • try finally
    8 KB (818 words) - 02:28, 30 May 2022
  • try try
    16 KB (1,810 words) - 14:56, 15 August 2023
  • while ((HTTPGetResult = False) and (RetryAttempt < MaxRetries)) do try
    7 KB (796 words) - 16:07, 29 April 2020
  • * fpjson: base unit which implements TJsonData and its children, e.g. TJsonObject try
    9 KB (1,160 words) - 19:09, 6 October 2022
  • ...teBufStream''' streams. It completely handles the buffer memory management and position management. An instance of TBufStream should never be created dire ...ocesses where your application is reading or writing small 'lumps' of data and the underlying operating system is far more efficient handling data in siza
    3 KB (415 words) - 06:38, 3 July 2021
  • **[[TPersistent]], [[IFPObserved]] - Base class for streaming system and persistent properties - Interface implemented by an object that can be obse ...ed</tt>, <tt>Duplicates</tt> and [[case-sensitive|<tt>CaseSensitive</tt>]] and [[Method|methods]] like <tt>Find</tt> to facilitate speeded search within a
    2 KB (251 words) - 16:02, 29 August 2021
  • This page is for expert users who know how to use/install Lazarus and want to write an installer for a platform. =Primary and secondary config files=
    3 KB (396 words) - 08:41, 13 February 2020
  • const strSourceFile : string; // Path and name of the original file try
    5 KB (596 words) - 14:04, 28 August 2020
  • Dialog is shown with the Execute() method, and if this returns [[True]], property ModalResult has ModalResult of the press ...urns <tt>True</tt> if the dialog was opened successfully. On Windows Vista and up, a native dialog is show, which may fail (because of inconsistent parame
    2 KB (260 words) - 23:32, 11 November 2023
  • while ((HTTPGetResult = False) and (RetryAttempt < MaxRetries)) do try
    7 KB (805 words) - 16:08, 29 April 2020
  • ...tc. in an executable file. Support for that was added to Delphi around v3, and was partly functional in Lazarus 0.9.24. ...o implicit provision in the ELF file format for version numbers, copyright and so on, but Lazarus stores this in resource sections. Reading the informatio
    6 KB (803 words) - 08:23, 22 August 2020
  • ...eptions. You can use the usual mechanisms ''try..finally..end'' and ''try..except..end'' to handle them. ...hat does what a normal callback does, but inserts code to catch exceptions and route them to the rtl.
    3 KB (449 words) - 10:05, 1 August 2020
  • TSQLScript is available for both FPC and Lazarus and runs on any database that [[SQLdb]] supports. It can be found on the [[SQLd This example assumes you have existing SQL connection and transaction objects set up.
    3 KB (347 words) - 02:39, 2 March 2020
  • ...platforms. The ODAC library is designed to help programmers develop faster and more native Oracle database applications. ...4 versions on Windows do not include an Oracle connector. If you enable it and test successfully, please submit a patch with the changes so it can be incl
    4 KB (631 words) - 05:37, 23 February 2020
  • ...platforms. The ODAC library is designed to help programmers develop faster and more native Oracle database applications. ...4 versions on Windows do not include an Oracle connector. If you enable it and test successfully, please submit a patch with the changes so it can be incl
    4 KB (619 words) - 00:24, 27 March 2024
  • ...que for each user, the user is guaranteed to have write permissions to it, and it is in a hashed location which is not predictable in advance so that it ...matically every 3 days but otherwise persists between application launches and reboots.
    2 KB (257 words) - 10:01, 26 March 2021
  • fphttpclient is supplied with FPC as part of the [[fcl-web]] package, and can be used by itself as well. ...SL/TLS connections using the OpenSSL library (will ship with version 2.8.0 and above). This requires the OpenSSL .so/.dll/.dylib library/libraries to be i
    11 KB (1,526 words) - 08:53, 6 April 2023
  • == Application Support and Preferences Folders == ...te the macOS user preferences directory because the [[Mac Preferences Read and Write|CFPreferences read/write methods]] will do this for you automatically
    5 KB (548 words) - 14:59, 13 February 2022
  • {{Avoiding implicit try finally section}} = Epäsuoran try finally lohkon välttäminen =
    7 KB (884 words) - 17:16, 6 August 2022
  • try finally
    5 KB (631 words) - 08:04, 16 December 2021
  • * [[TCollection]] and [[TStrings]] can used as a replacements for arrays. ...ype Information (RTTI)|runtime type information (RTTI)]] is created for it and all subclasses. These are essential for streaming. Since fpjsonrtti does no
    10 KB (1,195 words) - 15:06, 1 May 2023
  • ...mmands like 'Edit' and 'Print'. This must be in English for 'Edit', 'Open' and 'Print' so it can access the right registry entry. You can customize the tr // you can change Extension and Action part for each extension you have
    4 KB (568 words) - 05:38, 15 February 2020
  • This class lets you compress and decompress '''.zip''' files. TZipper implements support for compressing and decompressing .zip files, but does not support all zip compression methods.
    15 KB (1,916 words) - 10:25, 6 August 2023
  • procedure PropertyExample(); //shows how to set properties and read them try
    3 KB (390 words) - 17:19, 6 August 2022
  • try finally
    5 KB (641 words) - 08:35, 17 December 2021
  • ...data format. As the name implies, JSON documents are valid JavaScript code and can be directly converted into JavaScript objects. However, JSON can be use This tutorial explains how to load JSON data into a Free Pascal program and process it there. It also explains how to convert data from the program int
    10 KB (1,328 words) - 17:25, 6 August 2022
  • On Windows Vista and above, you will run in trouble with the FPU interrupt mask (see [http://sta try
    3 KB (356 words) - 12:04, 29 September 2021
  • ...result of a [[TSQLQuery]] correctly setup to link with a [[TSQLConnector]] and [[TSQLTransaction]]) also <tt>FormatSettings.TableName</tt> need be provid try
    2 KB (208 words) - 04:29, 18 July 2020
  • | &nbsp; [[And]] | &nbsp; try { } catch
    8 KB (948 words) - 14:17, 6 February 2023
  • ...ext to be "collapsed". This will hide all but the first line of the block, and the first line will be marked with the folded-symbol "[...]" at the end of ...a foldable region. The vertical line begins immediately below the [+] sign and continues to the last line of the foldable block. On the last line it displ
    8 KB (1,429 words) - 15:34, 30 January 2021
  • ...ng on the result start the next and so forth. Instead of writing a tedious and hard to read mass of sub functions an async procedure can be written in the ...''await'' calls, each ''await'' pauses the execution of the async function and continues it asynchronously (single threaded) later.
    8 KB (1,048 words) - 12:47, 31 December 2020
  • try finally
    6 KB (888 words) - 02:46, 2 March 2020
  • try finally
    8 KB (1,044 words) - 23:35, 10 August 2021
  • ...ings is not possible in FPC). It will come in handy a lot when programming and I'm going to teach you basic TStringList usage! This is a simple [[Command-line_interface|console program]] that will create and add one string to a stringlist.
    9 KB (1,303 words) - 15:39, 10 August 2022
  • ...amable contents. For example: stream an object into a JSON-format, or xml. And vice-versa. ...te. This mean that a good design is crucial. So if you can have had a look and have some ideas how to improve it, mail me: <joost@cnoc.nl>. (Ideas for ano
    7 KB (902 words) - 00:18, 9 September 2019
  • == How to catch and prevent Range Errors == Range errors are easy to introduce and sometimes hard to find.
    14 KB (2,080 words) - 12:06, 29 September 2021
  • Windows Credential Store allows applications to store user names and passwords in a more secure way, than configuration files can provide. The following unit provides three functions to read, write and delete these data in the credential store. You have to provide a *Target* i
    3 KB (343 words) - 16:58, 17 September 2022
  • fpwebfile is a unit with a simple HTTP module (''TFPCustomFileModule'' and ''TSimpleFileModule'') to serve files in fcl-web. You don't need to do anything except register a location from which to serve files.
    8 KB (1,088 words) - 10:27, 15 September 2021
  • ...mmands NET START and NET STOP use the service display name, the command SC and the code below use the service internal name. The display name is the one g ...there is one item in the DaemonDefs. The item has a name of "'''MyServ'''" and the associated "DisplayName" property has the value of "'''Internal build s
    4 KB (595 words) - 08:31, 23 March 2022
  • try finally
    6 KB (599 words) - 05:40, 15 February 2020
  • This port is a translation of the c header files for both MagickWand and Magick Core. BSD-style and compatible with the GPL.
    6 KB (367 words) - 07:45, 23 February 2020
  • ...polygons, ellipses and Bézier curves can be added to images and stretched and rotated. ...all major operating systems and it can also be used from the command line and its command line tools package is one of Linux standard packages, being dis
    9 KB (1,229 words) - 04:08, 16 July 2022
  • TRY FINALLY
    10 KB (865 words) - 00:07, 7 October 2022
  • ...ject=:::A subject line'</nowiki>, web addresses <nowiki>'http://'</nowiki> and files <nowiki>'file:///'</nowiki>. You can use its method FindDefaultBrowser to find the default browser and the parameter to start. For example:
    6 KB (886 words) - 06:17, 18 February 2022
  • * [[Mode Delphi | Delphi mode]]: the Turbo Pascal and Object Pascal keywords are available for you to use * [[Mode ObjFPC | Extended Free Pascal mode]]: the Turbo Pascal and Object Pascal keywords are available for you to use
    11 KB (1,633 words) - 18:52, 12 January 2022
  • ...http://www.freepascal.org/docs-html/fcl/inifiles/index.html IniFiles unit] and the [http://www.freepascal.org/docs-html/fcl/inifiles/tinifile.html TINIFil ...ing [http://en.wikipedia.org/wiki/INI_file#Sections sections] is mandatory and only the semicolon can be used for comments.
    10 KB (1,422 words) - 02:11, 18 March 2022
  • ...dealing with Pascal source files: Parsing, creating structures in memory, and output to files. |[[paswrite]] || A class and helper functions for creating Pascal source files from parse trees
    3 KB (358 words) - 23:44, 14 February 2020
  • |absolute || and || array || asm || begin || break || case || const | as || class || except || exports || finalization || finally || initialization
    3 KB (229 words) - 16:16, 20 August 2022
  • ...</syntaxhighlight>]] ja [[Finally/fi|<syntaxhighlight lang="pascal" inline>finally</syntaxhighlight>]] [[Reserved word/fi|varatut sanat]] käytettäväksi oma ...<syntaxhighlight lang="pascal" inline>ExceptFrameCount</syntaxhighlight>, and <syntaxhighlight lang="pascal" inline>BackTraceStrFunc</syntaxhighlight>.
    10 KB (1,271 words) - 17:23, 6 August 2022
  • (GetVersionEx(osVInfo) = True) and (osVinfo.dwPlatformId = VER_PLATFORM_WIN32_NT) and
    12 KB (1,217 words) - 01:53, 25 June 2020
  • ...a custom component on application form from a DLL library. Tested on win32 and Linux/Gtk2 with Lazarus 1.7 trunk. try
    9 KB (827 words) - 01:34, 16 February 2020
  • while ((HTTPGetResult = False) and (RetryAttempt < MaxRetries)) do try
    8 KB (849 words) - 00:12, 7 July 2022
  • If you are too lazy to setup packages and you do not want to share your projects/packages, then you can set here a gl Please note: "global" refers to codetools, and does not include the settings for the compiler. You have to add the path to
    6 KB (995 words) - 10:32, 17 February 2020
  • |absolute || and || array || asm || begin || break || case || const | as || class || except || exports || finalization || finally || initialization
    4 KB (226 words) - 16:16, 20 August 2022
  • * '''gl''': 单元的主要功能包括绘置多边形, applying transformations, setting colors and materials,... Procedures always start with the preposition "gl". ...e extensions. <p>The functionality specific to higher OpenGL versions (1.2 and later) is available in this unit as well. Initializing this functionality i
    5 KB (728 words) - 06:56, 23 February 2020
  • VCL and LCL support basic docking of controls. For advanced docking behavior, a cus Docking is a basically special case of Drag & Drop action for forms and similar controls. Therefore basic events of controls are similar.
    8 KB (961 words) - 19:36, 2 January 2022
  • ...eicherverluste zu vermeiden sollte Sie jedoch immer wenn möglich einen Try-Finally-Block verwenden, zum Beispiel: try
    6 KB (834 words) - 02:45, 2 March 2020
  • ...:1990 - that didn't introduce any new concepts, but cleared up ambiguities and corrected errors that were in the earlier version. The ISO 7185 standard is * [[And|<syntaxhighlight lang="pascal" inline>and</syntaxhighlight>]]
    8 KB (1,107 words) - 11:29, 11 September 2023
  • **[[TPersistent]] - Base class for streaming system and persistent properties. if Assigned(ACollection) {and (ACollection is THairList)} then
    9 KB (967 words) - 06:00, 29 February 2020
  • ...t, browse the components, choose Chart tab and click on TChart icon. Click and draw a rectangle on the window to drop it. ...to drop it. In the Object Inspector, define PointsNumber to 10, XMax to 10 and YMax to 10.
    7 KB (887 words) - 20:27, 9 January 2022
  • try finally
    20 KB (1,810 words) - 03:50, 2 March 2020
  • try Result:=SMTP.MailFrom(MailFrom, Length(MailData)) and
    12 KB (1,536 words) - 03:25, 19 May 2022
  • try //... and then commit to make them stick and show them to the SQL that comes
    3 KB (384 words) - 02:39, 2 March 2020
  • ...ложения (если он есть) в plist. См. [[Mac Show Application Title, Version, and Company]] для получения дополнительной инфор try
    9 KB (501 words) - 14:41, 18 August 2020
  • ...us offers access to FPC's multi-threaded environment libraries under Linux and Windows. If you are looking to develop lightning fast native engines speci Define as many of the lists of objects, data structures, and Critical Sections here as well as the list of Threads needed to bring your
    10 KB (1,612 words) - 17:18, 10 February 2020
  • Memory for the character sequence is dynamically allocated and freed. ...<syntaxhighlight lang="pascal" inline>length</syntaxhighlight> function}}, and for that matter also <syntaxhighlight lang="pascal" inline>high</syntaxhigh
    6 KB (754 words) - 13:27, 22 December 2023
  • Custom Attributes currently allow you to decorate type definitions and PREFIXEDATTRIBUTES is set, which is the default in mode Delphi and
    8 KB (1,026 words) - 22:34, 30 December 2022
  • try try
    27 KB (984 words) - 12:58, 1 April 2024
  • {{Command line parameters and environment variables}} The [[System unit|system]] (and [[Object Pascal|<syntaxhighlight lang="bash" inline>objPas</syntaxhighlight
    14 KB (1,804 words) - 19:55, 16 May 2022
  • ...onality such as drawing polygons, applying transformations, setting colors and materials,... Procedures always start with the preposition "gl". ...e extensions. <p>The functionality specific to higher OpenGL versions (1.2 and later) is available in this unit as well. Initializing this functionality i
    6 KB (886 words) - 15:01, 9 August 2022
  • ...ed to store user settings, error logs, measurement or calculation results, and more. This page explains the basics of file handling. ...umbers which can be formatted in different ways. These files can be opened and edited inside the Lazarus IDE or any other text editor.
    17 KB (2,650 words) - 06:53, 12 October 2023

View (previous 100 | next 100) (20 | 50 | 100 | 250 | 500)