Author: Gerd Isenberg
Date: 11:32:28 04/10/04
Go up one level in this thread
On April 10, 2004 at 14:17:08, martin fierz wrote: >>By default it simply bounds checks. >> >>e.g.: >> >>if(value < 0) jmp default; >>if(value > X) jmp default; >>jmp[table[value]]; > >i still don't understand: how does the compiler know what values table[value] >can take? in your example, the compiler knows from somewhere that these values >are in the range 0...X. how? > >cheers > martin The range is defined by the cases.
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.