Table of Contents

IsUnicode function

Description

Returns whether or not the Win32 Unicode APIs are being called. If running on a Windows NT class operating system (Windows NT, Windows 2000, Windows XP), will return TRUE$ (1). If running on a Windows 98 class (Windows 98, Windows Millenium Edition), will return FALES$(0).

Syntax

bUnicode = IsUnicode()

Note

On a Windows NT class machine, you can force Windows 98 class behavior by using the /WIN98 command line switch upon starting OpenInsight.

Example

declare function isunicode

if IsUnicode()= 1 then

   call msg(@window, "Win32 Unicode APIs are being called.")

end else

   call msg(@window, "Win32 ANSI APIs are being called.")

end