return versus "\n"

thierry douez at wanadoo.fr
Sun Nov 21 11:40:33 EST 2004


Hi,

someone has a clue for this little problem ?

i wanted to do that :

        local lToken = "aText" & return

but it seems we can just affect a direct value, not and expression
so this works better :

        local lToken = "aText\n"

but, as i used this lToken to communicate via sockets
the two are differents; why ?

so ,if i do :
        local lToken

        [...]
        on xxx
                put "aText" & return into lToken
                ....

this works !!!


? what i'm missing ?

So, what alternative do we have to define a string inside quotes
so the local lToken = "aText\what2putHere" could work as the script
above ?

Best regards, thierry




More information about the use-livecode mailing list