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


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


Thanks for advice.


Andrew Zenz




Sent: Tuesday, 14 January 2020 5:10 PM
Subject: Re: [firebird-support] coding for services: invalid clumplet



On 2020-01-14 00:40, 'Andrew Zenz' 
[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?


  • [firebird-suppo... 'Andrew Zenz' [firebird-support]
    • Re: [fireb... Mark Rotteveel [firebird-support]
      • RE: [f... 'Andrew Zenz' [firebird-support]
        • Re... Mark Rotteveel [firebird-support]
          • ... 'Andrew Zenz' [firebird-support]
    • [firebird-... pablo sanchez [firebird-support]

Reply via email to