Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programmers: please check my alpha-beta algorithm

Author: Rafael Andrist

Date: 09:15:04 09/29/03

Go up one level in this thread


On September 29, 2003 at 12:12:15, Edward Seid wrote:

>On September 29, 2003 at 12:03:20, Rafael Andrist wrote:
>
>>On September 29, 2003 at 11:49:20, Edward Seid wrote:
>>
>>>      Dim index, width As Integer
>>
>>At least in older VB versions, "index" is now of data type Variant, not Integer.
>>Not sure how VB.NET handles this, but I doubt they fixed this flaw.
>>
>>Dim index As Integer, width as Integer
>>would be necessary in older VB versions, otherwise you need more space and more
>>time for the conversion.
>
>I'm using 'index' as a variable name for a Loop counter.  It seems to work fine
>as I have it written and 'index' doesn't seem to be a reserved word in VB.NET.

It has nothing to do with the word "index" or a reserved word.

Dim index, width As Integer
==
Dim index As Variant, width As Integer

For all VB versions I know, though I did/could not check it with VB.NET



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.