Lineoffset work on message box but not in my script ?!

Ludovic THEBAULT ludovic.thebault at laposte.net
Tue Aug 15 11:35:44 EDT 2017


Hello,

Strange bug in Livecode :

Here the script (in a repeat):

put line (lineoffset("c_"&item tcpt of line 1 of thedatas,listmailleCentre)) of listcentre into tcoordline

put tcoordline into temp 

	—> return the good value, ex : 5152
put lineoffset("%AI3",the tdatas of cd 1 of stack "yams",tcoordline+1) into temp2 

	—> return 0


If i put this script on the message box :

put 5152 into tcoordline

put lineoffset("%AI3",the tdatas of cd 1 of stack "yams",tcoordline+1) 

	—> return a good value



What’s going on ? I work with Livecode 8.16 indy on MacOS.

I need to open a bug ?

Thanks

Ludovic


More information about the use-livecode mailing list