Put a stack into a variable?

Alain Farmer alain_farmer at yahoo.com
Fri Jun 13 19:52:40 EDT 2014


This may seem off-topic, sort-of, but it might be simpler to transmit an exhaustive DESCRIPTION of the stack, and have their LiveCode create it all from scratch. Then it gets filled with content that is gotten by URL. Kind-of like how web-pages work. It's all text, no binaries.



On Friday, June 13, 2014 7:00:08 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
 


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. :(
>

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list