Version Number:
________________________________________________________________________
Location
________________________________________________________________________
Description:
Code: Select all
function AddButton($dir)
{
$index1 = $dir * 6
$index = $index1 + 1
$xPos = $index
$yPos = $index + 1
$width = $index + 2
$height = $index + 3
$name = $index + 4
$text = $index + 5
$var = $dirButtonSet[$index + 2]
$var2 = $dirButtonSet[width]
*say $var
*say $var2
}
*say $var2 shows as 75, or whatever the proper index value is.
if $index = 12 was set above, and then $var = $dirButtonSet[$index + 22] was done, *say would show as '22'
________________________________________________________________________
Steps to Replicate: