B4R Question Progmem array length

Mostez

Well-Known Member
Licensed User
Longtime User
Hello,
I need to get length of progmem declared array to use it in loop, kindly indicate how to include C code.
thanks

B4X:
#IF C
#include <avr/pgmspace.h>
const PROGMEM byte ZPL [] = {
0x10,0x43,0x54,0x7E,0x7E,0x43,0x44,0x2C,0x7E,0x43,0x43,0x5E,0x7E,0x43,0x54,0x7E,
0x5E,0x58,0x41,0x7E,0x54,0x41,0x30,0x30,0x30,0x7E,0x4A,0x53,0x4E,0x5E,0x4C,0x54,
.
.
.
.
};
 
Top