Just pasted the last snippet into a button and had no problems. 8.1.2 Bob S
On Jan 26, 2017, at 22:23 , Sannyasin Brahmanathaswami via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: on closeStack if the environment is "mobile" then scroller_Delete "scrolling lesson field" # not actually used end if pass closeStack end closeStack # Ok put your cursor right here immediately after closestack and hit return and we get this on closeStack if the environment is "mobile" then scroller_Delete "scrolling lesson field" # not actually used end if pass closeStack nd closeStack # cursor is here now. but the word "end" above has become "nd" _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode