|
What's wrong with this picture , or, does trim only trim blanks and not
nulls?
select;
when InitNameFmt=0;
curlibout=C_LIBRARY;
when InitNameFmt=1;
curdirout=%trim(C_DIRECTORY);
other;
// Error - this choice location for rent
EndSl;
CurDirOutLen=%len(%trim(curdirout));
dump(a);
CURDIROUT CHAR(100) '
81 ' '
VALUE IN HEX
'000000000000000000000000000000000000000000
41 '000000000000000000000000000000000000000000
81 '0000000000000000000000000000000000000000'X
CURDIROUTLEN INT(10) 100 '00000064'X
Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.