Mark, yes, starts at 1 though 0 has special use I believe.

 

As an exercise I started with element 0 for both BYTE and CSTRING and
the results were similar - same error message.

 

I have used CSTRING previously with *CHAR with other functions
successfully.

 

Will keep plugging away at it till I figure it out.

 

Thanks for advice.

 

Andrew Zenz

 

 

________________________________

From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] 
Sent: Tuesday, 14 January 2020 5:10 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] coding for services: invalid clumplet
error

 

  

On 2020-01-14 00:40, 'Andrew Zenz' and...@aimsoftware.com.au 
[firebird-support] wrote:
> I have tried various iterations of it, as a BYTE and as Pablo Sanchez
> suggests in a later response, a CSTRING, eg:
> 
> spb_buffer BYTE,DIM(128)
> 
> or
> 
> spb_buffer CSTRING(128)
> 
> As a BYTE, I fill it thus:
> 
> spb_buffer[1] = 2 ! which is also defined as
> isc_spb_version, also tried 0010b and 02h

I know nothing about Clarion, and Google doesn't give me a lot of 
results, but are you sure arrays in Clarion are 1-based?

Mark



  • [firebird-suppo... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
    • Re: [fireb... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
      • RE: [f... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
        • Re... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
          • ... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
    • [firebird-... pablo sanchez pab...@adinet.com.uy [firebird-support]

Reply via email to