Using a variable within a string
Posted: Wed Jun 17, 2015 5:28 am
How do I use a variable that is immediately followed by a string?
If this is my variable:
and I want to use it like this:
to write "192.168.0.1/24" to the screen, it fails.
Is there a right way to do this?
If this is my variable:
Code: Select all
:global TEST "192.168.0.1"
Code: Select all
:put $TEST/24
Is there a right way to do this?