1
vote
Vote UpVote

The Format function introduced in Delphi 1 was based on the FormatStr function in Turbo Vision available in Turbo Pascal 6 or higher

The Wiert Corner – I did find my Borland Pascal 7.0.1 ISO which showed that https://github.com/romiras/turbo-pascal-archive/blob/master/Files/Dos%20Navigator/FORMAT.ASM is identical to ./BP/RTL/TV/FORMAT.ASM which is used from ./BP/RTL/TV/DRIVERS.PAS to provide this: { String formatting routines } {$L FORMAT.OBJ} procedure FormatStr(var Result: String; const Format: String; var Params);external {FORMAT}; There are various examples like in ./BP/EXAMPLES/DOS/TVDEMO/ASCIITAB.PAS at line 143: FormatStr(TempStr, ' Char: %c Decimal: %0# Hex: %0#x ', ASCIIChar); So it was in the Drivers unit, but also easy to ...
Favorite? Off-Topic? jpluimers @ 2017-10-26 07:04

Statistics

Visits: 5053
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Rif..
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)