[Blog] Script Only Stacks

Jim Lambert jiml at netrin.com
Thu Mar 3 15:22:27 EST 2016


> TimB wrote:
> If I open one up in TextEdit and save it, Livecode gives me the error message: “Unable to open stack: File is not a stack”.

Hi Tim,
I’m not seeing that here with LC 8.0 (dp 15)

1. Launch TextEdit
2. File > New
3. Format > Make Plain Text
4. type

script "test2"
on openstack
answer "Wow!"
end openstack

5. File > Save
6. name it
“test2.livecode"  Use UTF-8 encoding
7. File > Close

8. Switch to LC
9. File > Open Stack…
10. Select “test2.livecode”
11. Answer dialog appears with “Wow!”

Jim Lambert





More information about the use-livecode mailing list