Однако, попытки их использовать к успеху не привели, переменные якобы не определены. Пробовал, в том числе и пример, приведенный в доке.
Код: Выделить всё
For example, if the ini file looks like so:
[SETUP]
XPOS = 3.145
YPOS = 2.718
you may refer to the O-word named parameters #<_ini[setup]xpos> and #<_ini[setup]ypos> within G-code.
EXISTS can be used to test for presence of a given ini file variable:
o100 if [EXISTS[#<_ini[setup]xpos>]]
(debug, [setup]xpos exists: #<_ini[setup]xpos>)
o100 else
(debug, [setup]xpos does not exist)
o100 endifВерсия LCNC 2.6.7, но пробовал и 2.7.0 - результат един.
У кого-нибудь есть мысли по этому поводу?
Смущают еще вот такие строчки. я не смог глубоко понять их смысл:
Caution
this section doesn’t really belong here but since it comes with the same branch, here it rests for now until its clear this will be merged. It should go into the gcode/overview Named Parameters section.