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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Mike Kerner via use-livecode
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
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode