× 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.



Igor.Beslic@xxxxxxxxxxxx wrote:
<snip>
What I realy don't understand WHY example 1. works if I define path in source:

%Str(path@:100)='/CrnaLista/Z250304122700001.XML';
fileDesc=openFile(path@:oflag);


and WHY example 2. works if I define path in source:

path='/CrnaLista/Z250304072600001.XML';
fileDesc=openFile(%trimr(path):oflag);
<snip>

Igor,

Are you by any chance calling this program from the command line? Then you'd better look at the value of your parameter in debug. You might have a problem with length and/or with enclosing quotes.

Joep Beckeringh


-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 26-12-2004


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.