I had the same problem with dynamic blocks, so I fired up the console
;
; A normal path
;
data: [one 1 two 2]
== [one 1 two 2]
data/one
== 1
;
; A dynamic path. This path doesn't work. The path doesn't have context.
;
p: to-path data/one
== data/one
p
** Internal Error: ** Script
Hi,
tstring: password/jj
== password/jj
tstring: to-path tstring
== password/jj
There are many issues about this expression.
1)
p: to-path a/b
creates a path composed of a single item which is itself th path a/b.
You can verify this with this:
length? :p
first :p
type?