Please enable JavaScript to view this site.

A-Shell Development History

The op parameter now supports a +2 flag to cause it to recognize quoted arguments. For example, consider the following string:

"DSK0:A.B[111,222]",ARG1,ARG2

If the field delimiter is a comma, normally STRTOK would parse the arguments like this:

"DSK0:A.B[111

222]"

ARG1

ARG2

 

By adding +2 to the OP parameter, it will parse it like this:

DSK0:A.B[111,222]

ARG1

ARG2

 

Note that it removes the quotes.