custom Prop question

Richard Gaskin ambassador at fourthworld.com
Mon May 5 23:35:00 EDT 2003


Stephen Messimer wrote:

> Anyone have any idea how much text can be stored in a custom property?

I couldn't find that in the Rev docs, but here are the engine limits from
the MC docs:

--==============================================================--

There are certain limits to how large various structures can be in MetaCard.
Most limits are tied to the machine data types used to store them.  A uint1
is 255 (8 bits), a uint2 is 65,535 bytes (16 bits/64KB), and a uint4 is
4,294,967,295 bytes (32 bits/4GB).  Those structures that have a maximum
size of uint4 share the same 4GB address space and so each structure can
only use space not used by other structures.  Note that all MetaCard
structures, including stack size, are limited by available virtual memory.

Stack, card, or bg size                uint4
Control (including Image) size         uint4
AudioClip or videoClip size            uint4

Number of objects in a stack           uint4
Number of objects per card or bg       uint4

Custom properties per object           uint4
Characters in custom property name     uint1
Characters in each custom property     uint4

Object name length                     uint2
Characters in a button                 uint2

All other string properties            uint2
Characters in a field or variable      uint4
Characters per line in a field         uint2

Maximum shadow or border width         uint1
Script length                          uint4
Command or function name length        uint2

Nested repeats                         uint4
Active variables                       uint4
Message sent to or from external       uint2

--==============================================================--


-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list