×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 2017-05-10 5:28 AM, PAPWORTH Paul wrote:
...
d rmdir pr 10i 0 Extproc('rmdir')
d path * value options(*string)
/free
l_path_2 = p_path ;
%Str(%Addr(l_path_1) :
%Size(l_path_1)) = %trimr(l_path_2) ;
if rmdir(l_path_1) < 0 ;
When you code options(*string), you don't need to null-terminate the
string yourself. options(*string) will do that for you. You just need to
pass the string directly, as Brian said, rmdir(%trimr(p_path)).
I can't help wondering why you're declaring your l_path_x variables as
60A, which would only pass 59 characters of p_path to rmdir. If you
really do only want to use the first 59 characters of p_path, then use
rmdir(%trimr(%subst(p_path : 1 : 59)));
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.