Announcement

Collapse
No announcement yet.

Limits on variable names & nesting?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Limits on variable names & nesting?

    Hi, I'm writing some code that will create objects with long member names, or objects with many nesting levels, e.g. l.MyVar:member:sub_member:sub_sub_member: ... So before I bump my head on some limit of the VM, I thought I'd ask: what is the maximum value for:

    - the length of a variable name or object-member name?
    - the number of levels of nesting that can be used to reference a sub-sub-...-sub-member?
    - the total length of the "path," i.e the number of characters for all the member names, array indexes, colons, and/or square brackets that are used to reference a variable?

    Thanks --
    Last edited by Kent Multer; 04-29-16, 11:08 AM.
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    #2
    According to dev there shouldn't be any limits.
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    Working...
    X