×
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.
Right... When you pass a literal to a C program, it automatically adds
a null (x'00') to the end. But, when you pass a variable, you need to
put the null in the variable yourself.
So from the command-line, where you can't have variables, your data is
in a literal and therefore gets the automatic x'00'. From your program,
&CALL# was a variable and so wasn't null terminated.
On 11/19/2012 3:12 PM, Porterfield, Sean wrote:
I was just baffled that it worked from a command line and not in a
program. Normally we see the opposite (due to parameter lengths
assumed on CALL).
As an Amazon Associate we earn from qualifying purchases.
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.