Put a stack into a variable?
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Jun 13 18:59:34 EDT 2014
It means that you can make it work. "Go to url" won't work, but you can
download the data, set clipboarddata["objects"] and paste.
Not sure if it is a bug. It is if copied stacks lose properties that
aren't part of the old format. Otherwise I'd call it a feature request.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 6/13/2014 23:48, Richard Gaskin wrote:
> Mark Schonewille wrote:
>> How do you "paste" the stack?
>
> If you use the copy command on a stack, the paste command will do the
> same as the clone command, duplicating the stack with a name prepended
> with "Copy of".
>
> That said, it appears there's a difference in the binary data of a
> copied stack and a saved copy of the same stack file. For starters, LC
> 6.6.2 saved in the v5 format, but copied stacks have a "2700" header for
> the old 2.7 format. Bug maybe?
>
> But worse, even when I save a stack in the old 2.7 format, the data in
> the stack file still differs from the data in the clipboard is a
> surprisingly large number of ways, including an apparent replication of
> nearly the entire data in the clipboard, and with a different header
> than used in the stack file.
>
> So right now, my dream of being able to get a stack's data from RAM to
> save to a server without going to disk as an intermediary step is hosed. :(
>
More information about the use-livecode
mailing list