Page 1 of 1 1
Topic Options
#81299 - 2002-11-08 03:13 AM @ProductSuite returns a string instead of integer
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Ruud,
I realize this is not specific to the current beta so am posting it here in the hopes of borrowing your ear.

The macro @ProductSuite returns a string instead of integer. It is causing a lot of confusion with users when they try to do a bitwise AND on the result.

There is no mention in the manual of the VarType returned. If you will not change the VarType could you at least mention it in the manual?

Here is just one of the many posts on @ProductSuite:

Topic: Windows 2000 Server with Terminal Services installed.

TIA

[ 08. November 2002, 03:55: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#81300 - 2002-11-08 03:36 AM Re: @ProductSuite returns a string instead of integer
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Just to add my $0.02, if a macro is supposed to return numbers, like @PRODUCTSUITE or @INWIN, then I would expect the macro to atually return an integer vartype and not a string vartype. Thus, I'd definitely classify this as a bug.
_________________________
There are two types of vessels, submarines and targets.

Top
#81301 - 2002-11-08 04:23 AM Re: @ProductSuite returns a string instead of integer
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Here's one more reason.

Topic: KIX-TOOL: stripping, reformatting, debugging, performance analyze kix code (kixstrip)
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#81302 - 2002-11-12 03:45 PM Re: @ProductSuite returns a string instead of integer
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Good one. I have put this on the fix-list for the next update.

Thanks for the report!

Ruud

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 781 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org