Allow Insert in Array using #n form

Issue #82 resolved
James Powell repo owner created an issue

Currently use # by itself to insert at end of array.

Allow: #n as insert before element n. Examples:

  • #0 insert at front
  • #-1 insert in front of last element

Another idea to consider: inserting into a scalar. Example

{“phone number”: “123-4567”}

insert “234-5678” at $.phone number[#0] →

{“phone number”: [“234-5678”, “123-4567”]}

This ties into #67: Get single element as 1-element LabVIEW array

Comments (3)

  1. Log in to comment