Microsoft’s new Cascadia Code font is designed with developers in mind

Update: Unfortunately, the Cascadia Code font is not complete.  A very large number of Unicode characters are missing, making it unusable in f.x RAD Studio or with any application or language that uses characters outside the very limited ASCII range.

Going to try it out instead of my current favorite: Source Code Pro by Adobe.

“Microsoft has announced a new version of their Cascadia Code which is designed with developers in mind. Cascadia Code was first announced by Microsoft at Build back in May and is finally shipping to the Windows users. Microsoft noted that the new font is designed for command-line applications including Windows Terminal. ”

Source: Microsoft’s new Cascadia Code font is designed with developers in mind – MSPoweruser

Generic Command Line Parser for Delphi 10.3.x

You know the feeling. You need a specific input from your command line, but you can’t find something lightweight that does the job. Hence, the FDC.CommandLine was born.

You can use – / or + as a switch, and use : or = as a flag for parameters.

You can use single and double quotes to be able to parse parameters that contain spaces and quotes.
/quoteoftheday:”This is a ‘quoted’ parameter”

It also supports lists of parameters.
/inputfiles:(file1.txt , “file with space.txt”)

Take a look at the TestFDCCommandLine.dpr for more examples of how it works.

Continue reading “Generic Command Line Parser for Delphi 10.3.x”

Gamasutra – The source code for Infocom’s classic text adventures is now on Github

The entire source code for a huge array of Infocom text adventures and interactive stories is now available on Github, thanks to historian and archivist Jason Scott.

Among the titles are:
– Zork I, II, III
– Leather Godesses of Phobos
– Nord and Bert Couldn’t make Head or Tail of it
– Stationfall
– Hitchhiker’s Guide to the Galaxy
– Bureaucracy

Source: Gamasutra – The source code for Infocom’s classic text adventures is now on Github

Something safe for New Year’s Eve :)

Something safe for New Year’s Eve 🙂

Jan Horn wrote this, December the 29th in 2001! Just add Variants to the uses clause in the .dpr file to get past the “NULL not found” error.

Someone should port this to FireMonkey 🙂

Update: Upon trying to find Jan’s current whereabouts, I sadly learned that Jan Horn no longer is among us.  May he rest in peace, and be remembered fondly.

#opengl     #sourcecode  

OutputDebugString override

OutputDebugString override

Simple override for Windows.OutputDebugString which adds a timestamp, thread id and memory, and an overloaded string version to get rid of those pesky pChar casts.

The output shows up in the in the BDS Event Log, or it can be captured while running live with Sysinternal’s DebugView (

CustomDebugOut.pas –

#delphi   #sourcecode