Questions about Custom Properties (CP). How much data (text) can be put into a CP? Is there a limit to the amount? Can a CP be used as a storage container for data (text) in the same way we use an external text file to store data? Is it routinely used to store large amounts of data or is storing large amounts of data usually left to an external file? It seems to be a good way to hide and secure data from prying eyes as there is no file for someone to view. Any comments?
urbaud
Custom Property Data storage???
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Custom Property Data storage???
For encryption see the encrypt command in the Dictionary.
But re. stack files, yep, they make good general data stores, useful for up to about 50 MBs of data (you can go further, but after 100 MBs you'll see some serious slowdowns when loading and saving).
The only logical limit on the number of custom properties is, if memory serves, UINT4 (> 4 billion). You'll probably run out of RAM long before you run out of available property slots.
But re. stack files, yep, they make good general data stores, useful for up to about 50 MBs of data (you can go further, but after 100 MBs you'll see some serious slowdowns when loading and saving).
The only logical limit on the number of custom properties is, if memory serves, UINT4 (> 4 billion). You'll probably run out of RAM long before you run out of available property slots.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Custom Property Data storage???
Hi Richard,
Thanks for your reply, I appreciate the information.
Thanks for your reply, I appreciate the information.
urbaud