Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

point - a variable containing numerical coordinates in an array and the units associated with those coordinates. It then converts the array into one line of code where the coordinates are separated by commas (ie. x,y,z where the coordinates are x,y,z are specified by numbers).
point(pointarray) :=

  • temp <-- ""
  • for i of 0..(rows(pointarray) - 1)
    • temp <-- concat(temp,stringit(pointarrayi))
    • temp <-- concat(temp,",") if i < (rows(pointarray) - 1)
  • temp

pointnonunits - a variable containing numerical coordinates in an array without units. It then converts the array into one line of code where the coordinates are separated by numbers.
pointnonunits(pointarray)

...