Please enable JavaScript to view this site.

A-Shell 7.0 Release Notes

EDIT$(string,flags) enhancement - new flags:

define EDITF_Z      = &h0100

define EDITF_SPTBZ  = &h0128

 

EDITF_Z flag is applied after any other flags, and converts a string containing just "0" to "".

EDITF_SPTBZ is a combination of EDITF_SPTBR, EDITF_SPTBL and EDITF_Z; it first removes leading and trailing spaces and tabs, and if the result is just "0", then removes it too, returning "".

These are mainly useful in mixed number/string situations where the distinction between a null strings, strings containing just blanks, strings containing just "0", or some combination, are all to be treated equivalently.