07-05-2021, 09:42 AM
"I did not understand what you mean after with the syntax error about "without it, but I don't know why that makes a difference. if (array ...) can understand the syntax, why can't (difference for regions or (intersection for regions understand it?""
It was referring to the script above it, and a 2nd bug. Below. I repeat the comparison to make my intent clearer:
This compiled:
(define "HalfWayEdge"
(min
(intersection
(array (sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:0)))
(array (sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:1)))
)))
But this didn't:
(define "HalfWayEdge"
(intersection
(sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:0)))
(sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:1)))
))
Unexpected syntax '(sites Incident Edge ...' in 'at:(intersection (sites Incid...'.
Why do the <region> math methods fail to compile, while the <array> math statements are OK (and the conversion of region to array is OK?) That seems like an additional bug to me.
========================
Re the other bug: From a scriptwriter's point of view, such glitches make finding workable scripts difficult.
However, I understand you have a lot to do and have to prioritize. I tried to test and comment on it to isolate when it occurs and simplify your task,
It was referring to the script above it, and a 2nd bug. Below. I repeat the comparison to make my intent clearer:
This compiled:
(define "HalfWayEdge"
(min
(intersection
(array (sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:0)))
(array (sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:1)))
)))
But this didn't:
(define "HalfWayEdge"
(intersection
(sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:0)))
(sites Incident Edge of:Cell at:(regionSite ("SharedCells") index:1)))
))
Unexpected syntax '(sites Incident Edge ...' in 'at:(intersection (sites Incid...'.
Why do the <region> math methods fail to compile, while the <array> math statements are OK (and the conversion of region to array is OK?) That seems like an additional bug to me.
========================
Re the other bug: From a scriptwriter's point of view, such glitches make finding workable scripts difficult.
However, I understand you have a lot to do and have to prioritize. I tried to test and comment on it to isolate when it occurs and simplify your task,