About: Alternatives to Deprecated Methods   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

In recent versions of Delphi, you can use the deprecated directive to flag obsolete methods which should not be used anymore. This allows code which calls them to compile, but the compiler will emit a warning. For example, look at the following declaration from SysUtils:

AttributesValues
rdfs:label
  • Alternatives to Deprecated Methods
rdfs:comment
  • In recent versions of Delphi, you can use the deprecated directive to flag obsolete methods which should not be used anymore. This allows code which calls them to compile, but the compiler will emit a warning. For example, look at the following declaration from SysUtils:
dcterms:subject
abstract
  • In recent versions of Delphi, you can use the deprecated directive to flag obsolete methods which should not be used anymore. This allows code which calls them to compile, but the compiler will emit a warning. For example, look at the following declaration from SysUtils: <b>procedure</b> RaiseLastWin32Error; <b>deprecated</b>; <i>// use RaiseLastOSError</i> If you call this method in your code, the compiler will emit a warning like this: [Warning] Unit1.pas[28]: Symbol 'RaiseLastWin32Error' is deprecated We can see from the comment in SysUtils that RaiseLastOSError is the intended replacement. But not all deprecated methods have such comments, so the list below is intended to help find good replacements.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software