Lists in Transcript

Dom mcdomi at free.fr
Tue May 24 02:16:42 EDT 2005


Andre Garzia <soapdog at mac.com> wrote:

> function list
>    local tList
>    repeat with x = 1 to paramcount()
>      put param(x) & cr after tList
>    end repeat
>    delete char -1 of tList
>    return tList
> end list
> 
> on demoList pPrefix, pList
>    repeat with x = 1 to the number of lines in pList
>      put pPrefix && line x of pList & cr after tBuffer
>    end repeat
>    put tBuffer
> end demoList

        compiling at 8:12:03 AM
Type    Chunk: can't create a variable with that name
(explicitVariables?)
Object  card id 1002
Line    put pPrefix && line x of pList & cr after tBuffer
Hint    tBuffer

The same error when I place all the scripts in a button...

-- 
Revolutionario



More information about the use-livecode mailing list