NAME=WordValue
AUTHOR=
ITEM=function WordValue(string$)
DESCRIPTION=This function returns the (unsigned) integer value of a character sequence (string). For example, in binary files an integer might be saved as a 4-byte character sequence.
OUTSIDE CODE=

function WordValue(string$)
    for i = 1 to len(string$)
        WordValue = WordValue + asc(mid$(string$, i, 1))*256^(i-1)
    next i
end function

