How to start this project...

Martin Blackman martinblackman at gmail.com
Mon Oct 2 05:47:21 EDT 2006


Jacqueline covered it much better than me there. The lookupchar
function was indeed intended as a separate function for you to write.
eg. you might do something like this

-- field "input" contains list of chars which should be replaced, eg "ABC"
-- field "output" contains your desired output chars in matching order, eg "123"

function lookupchar tchar
    get offset (tchar,field "input")
    if it = 0 then return tchar else \
            return char it of field "Output"
end lookupchar



More information about the use-livecode mailing list