Reminds me of La-Mulana for some reason.
function binaryaddition(string1, string2)
dim carry()
dim array1()
dim array2()
dim sum()
if len(string1)>len(string2) then
x = len(string1)+1
else
x = len(string2)+1
end if
redim carry(x)
redim array1(len(string1))
redim array2(len(string2))
redim sum(x)
array1 = stringtoarray(string1)
array2 = stringtoarray(string2)
carry(0) = var2
while y < x
sum(y)=fullsum(array1(y),array2(y),carry(y))
carry(y+1)=fullcarry(array1(y),array2(y),carry(y))
y = y + 1
wend
binaryaddition = arraytostring(sum())
end function
FoxMccloud75 -- close!
from the typing usernames with your eyes closed thread i guessFoxmccloud67 Close enough
JEFFFFF LOOLhttp://tinyurl.com/7xhehul
solis22 sent it to me.. :c It wasn't funny. :c
I may have screamed really loudly. :c