Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

A better variable!

$
0
0
IMHO the time has come to think not only about new commands and functions but also about a new way of defining variables.

In addition to the usual way, compatible with the old one, %variable% if, for example, at the beginning of the batch you put a command like

set enanched variables

you can use the variables, again for example, as in php, simply by prefixing a $ to the variable name. From that moment we could do without the % symbol everywhere. For example:

set fname =...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles