Problem with @FONT

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,602
46
Albuquerque, NM
prospero.unm.edu
#2
When I run the follow script from a .BTM:

@echo off
VER /R
echo
%@font[0]
echo
%@font[1]
echo
%@font[2]
echo
%@font[3]
echo
%@font[4]
echo
%@font[5]

I get:

TCC 16.00.37 Windows XP [Version 5.1.2600]
TCC Build 37 Windows XP Build 2600 Service Pack 3
Registered to My Company - 1 System License
0
1
2
3
4
5


This is not what I am expecting.
I suspect that function may only work in Vista and later.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,602
46
Albuquerque, NM
prospero.unm.edu
#4
This was what I was thinking too, but it doesn't seem to be documented.
Indeed. But bear in mind that XP is now officially desupported. Rex probably isn't going to go through the docs and tag the functions that don't work in XP, any more than he does the things that don't work in OS/2, or MS-DOS.