I'm trying to figure out how to use variables inside instructions, for instance
This obviously works fine: deck 3 pad_page 1 & pad 3
But I would like to use the variable $cnt instead of the number 3
Like: deck 3 pad_page 1 & pad `get_var $cnt`
Suggestions for the right syntax would be appreciated.
This obviously works fine: deck 3 pad_page 1 & pad 3
But I would like to use the variable $cnt instead of the number 3
Like: deck 3 pad_page 1 & pad `get_var $cnt`
Suggestions for the right syntax would be appreciated.
geposted Tue 07 Feb 23 @ 4:40 pm
example
set a 3 & get_var a & param_cast 'integer' & pad
geposted Tue 07 Feb 23 @ 5:00 pm
Thanks, that works!
geposted Tue 07 Feb 23 @ 7:46 pm