|
|
@@ -330,10 +330,10 @@ PaoTin++ © 2020~2023 的所有版权均由担子炮(dzp <danzipao@gmail.com>)
|
|
|
// 压缩路径。返回后的新路径。
|
|
|
//
|
|
|
// EXAMPLE: \@path.Compact{north;north;north;east;south;south;west}
|
|
|
-// RESULT: {#3 north;east;#2 south;west}
|
|
|
+// RESULT: {#3 north;east;south;south;west}
|
|
|
//
|
|
|
// EXAMPLE: \@path.Compact{n;n;n;e;s;s;w}
|
|
|
-// RESULT: {#3 n;e;#2 s;w}
|
|
|
+// RESULT: {#3 n;e;s;s;w}
|
|
|
// };
|
|
|
#func {path.Compact} {
|
|
|
#local path {%0};
|