TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Nice
from: Richard Hulme
date: 1994-12-18 05:19:00
subject: Warp version number

Hello Mike!

09 Dec 94, Mike Nice writes to Juan Jose Comellas:


 JC>> Warp 3.0 identifies itself as
 JC>> OS/2 version 2.30. Does anybody know if this is a bug or a feature?

 MN>  Officially, this is a feature to prevent software from aborting because
 MN> it doesn't find the  version number it expects.

Isn't this the same reason why DOS 5.00 came with SETVER?  Because too many
people wrote programs which read:

        GetOSVersion(&major, &minor);
        if(major != 2)
        {
          printf("Incorrect OS version!\n");
          exit(1);
        }
        etc.

Instead of putting : if(major < 2)

I understand the reasoning behind reporting 2.30, but I'd rather it reported
3.00 and gave us some other way of getting errent programs to run.

Richard

--- GoldED 2.40
* Origin: Floating Point/2 (2:250/109.10)
SEEN-BY: 12/2442 620/243 632/348 640/820 690/660 711/409 410 413 430 807 808
SEEN-BY: 711/809 934 942 949 712/353 515 713/888 800/1
@PATH: 250/109 25/10 250/107 255/1 440/4 141/209 270/101 396/1 3615/50 229/2
@PATH: 12/2442 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.