The WordStar Resource Site Home Page  
WordStar for Windows Home Page
     
  Home    WS Emulator    WS DOS     WSWin   WS Forums   WS File Conversion    Buy WS    WS History 

 

WordStar for Windows 2.0


WordStar for Windows 2.0 Y2K Corrected Template Macro (template.wmc)

Introduction

The Template Macro (template.wmc) provided with WordStar for Windows 2.0 is not Y2K compliant.

The template macro program (template.wmc) only uses dates for its calender function. If you don't use the calender or use the date functions in template.wmc for your own macro programs these problems will not affect you.

Description of Y2K Problems

  1. The template macro assumes dates of less than 80 are in the 21st century and that dates of greater than or equal to 80 are in the 20th century giving valid date ranges of 1980 - 1999 and 2000 - 2079.

  2. The calender titles are correct for the years 1980-1999 and 2010-2079, but for years between 2000 - 2009 the calander titles will show 200 to 209, i.e., there is a zero missing from the tens digit of the year numbers. This is due to single-digit year numbers not being padded to two digits to correctly make the four-digit full year number.

  3. The template may also produce incorrect dates following 31st December 1999.

Solution

There is a new version of the template.wmc file that was corrected by Mark Fishman and tested from the early 1700s to 2049 by Philip Griffin-Allwood. The new version of template.wmc should be used to replace the one supplied with WordStar for Windows 2.0. The replacement file is available for download using the link below:

template.zip - Zip file (7Kb)

Installing the corrected template

  1. Back-up the original template.wmc file from the C:\WSWIN\MACROS directory (folder).

  2. Download the template.zip file using the link above and save it in a temporary directory on your hard disk. Save a copy of this file in case you ever need to reinstall WordStar for Windows.

  3. Unzip the template.wmc file contained in the Zip archive and copy it into the C:\WSWIN\MACROS directory.

TOP



Copyright © 1999-2004 Michael Petrie, United Kingdom.


 

FAQ: Q1027

 
See also:
Q1028: WordStar for Windows 2.0 Y2K patch for WSWIN.DLL
Q1029: WordStar for Windows 2.0 Macro Program to Correct Insert Date as Text Y2K Error

Download Y2K Corrected template.wmc File (7Kb)

WinZip
Need WinZip?

Do you use the WordStar keystroke
set in WordStar for Windows?

Do you have to use Microsoft Word 97 or later?

If the answer to both these questions is YES you NEED the WordStar Command Emulator for Word

Only $34.99

BUY IT NOW!

Buy the WordStar Command Emulator Now!