In favor of immutability, creating a copy of an argument is required. When it comes to nested structure, that could become tricky.
In BrightScript, cloning nested Associative Arrays is as simple as:
clonedAA = parseJson( formatJson( someNestedAA ) )
Comments
Join the discussionNo comments yet. Be the first to comment.
BrightScript
BrightAuthor plugin development with BrightScript, the scripting programming language for the BrightSign player.