The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,313 other followers

Archive for the ‘Turbo Pascal’ Category

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

Posted by jpluimers on 2017/10/26

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 incorporate in your own unit by linking the .OBJ file and providing the external declaration in any unit.

The Drivers unit is very independent of the rest of Turbo Vision: it uses the Objects unit (which most projects use as the System unit at ~500 lines of code provided very little functionality by itself).

For the diskette based install, the .TPU files were on the standard disks and the sources for both RTL and Turbo Vision on separate disks, but anyone would install them as they provided a lot of insight. The CD-ROM has them all on the same medium (both as installers and unpacked in the BP directory).

I just checked Turbo Pascal 6.0 (that I did have a VM for) which has them in the same way.

Source: [WayBackWe’re discussing with the collegues: anybody knows when Format function was introduced in Delphi? – Klaus Edelmann – Google+

–jeroen

Posted in Borland Pascal, Delphi, Development, History, Pascal, Software Development, Turbo Pascal | Leave a Comment »

Apple ][ history – Nibble magazine

Posted by jpluimers on 2017/02/16

I recently found some old magazine issues of my early programming escapades. It reminded me of the really old days where – as a school kid – I tried to buy Nibble magazine at a regular base. It was expensive (I think it was around 8 Dutch Guilders (or NLG) – close to EUR 4 – which was a lot for me, though less expensive than diskettes that were like NLG 10 each).

But it was fun as the magazine focussed at computer programs and programming transitioned my life. From Integer Basic via AppleSoft Basic (and various smaller attempts in FORTH, MuSimp, LISA Assembler and LOGO) to Turbo Pascal on CP/M.

Recently I learned that all issues (16k pages total!) have been scanned and OCR-ed and can be obtained on DVD for a modest price. Even better: all their software is available for free.

Just follow these links:

For some history:

–jeroen

Posted in //e, 6502, Apple, Apple ][, Development, History, Pascal, Power User, Software Development, Turbo Pascal | Leave a Comment »

Recursion

Posted by jpluimers on 2016/11/23

Apple fanboys all know about 1 Infinite Loop. Turbo Pascal adepts about the index entries “infinite loop See loop, infinite” and “loop, infinite See infinite loop”. Google as a more direct approach: https://www.google.com/search?q=recursion

–jeroen

Posted in Algorithms, Apple, Borland Pascal, Design Patterns, Development, Google, Pascal, Power User, Software Development, Turbo Pascal | Leave a Comment »

Anders Live | Build 2016 | Channel 9 – on Turbo Pascal, Delphi, C# and TypeScript

Posted by jpluimers on 2016/04/06

Anders Live - Build 2016 - Channel 9 Stage C907 - Speakers: Anders Hejlsberg, Seth Juarez

Anders Live – Build 2016 – Channel 9 Stage C907 – Speakers: Anders Hejlsberg, Seth Juarez

Anders explaining about being a pragmatist ever since he started working on the Turbo Pascal predecessor in 1981. It’s been a long way to TypeScript and beyond (:

Lot’s of interesting tidbits about the future of TypeScript and how it relates to other languages.

Source: Anders Live | Build 2016 | Channel 9

Direct URLs:

–jeroen

PS:

The Turbo Pascal predecessors were called Blue Link Software PascalCompas Pascal and Poly Pascal as I learned last year while teaching a workshop for DAPUG in Denmark when I bumped into some people working with Anders while he still lived there a long time ago. Later I researched the above links.

 

Posted in .NET, C#, Delphi, Development, History, Pascal, Software Development, Turbo Pascal | 1 Comment »

You find a lot of stuff when you are reorganizing your office #TP6 Library…

Posted by jpluimers on 2016/02/11

You find a lot of stuff when you are reorganizing your office #TP6  Library….

I must clean out my closets as well. I think I have similar stuff lying around.

–jeroen

Posted in Delphi, Development, History, Software Development, Turbo Pascal | Leave a Comment »

 
%d bloggers like this: