need to do some code which is giving me an issue
i want to find a value of 1-6 in a variable in an array and if the value has been used , then it is removed from the list as an available value
the lowest value that has not been used is then returned as the answer
regards
Sheldon
though something like this as a starting point
for z = 0 the index
if value1(z) & $F0 = value2 then
y = value1(z) & $0F
if Y = 1 then not_free = 1
if y = 2 then not_free = 2
if y = 3 then not_free = 3
if y = 4 then not_free = 4
if y = 5 then not_free = 5
if y = 6 then not_free = 6
endif
next z
Bookmarks