OK. So maybe a step closer here. I have managed to implement sizeof() ala lite-C style by using it on a structure.
This gets the correct values however it raises the question of how to do this dynamically. Even if it's just at runtime.
As it stands, I would need to modify several lines of code every time I modify the array length (I'm only interested in detecting the array length at runtime.
Surely there is a way to do this. The manual indicates there is but dammed if I can find the information in there

Cheers,
BobbyT
PS: Here's the code (for laughs sake)
#include <stdio.h>
#include <default.c>
typedef struct {
int slot1;
int slot2;
int slot3;
} arSTRUCT;
arSTRUCT* stuff = {slot1 = 5; slot2 = 15; slot3 = 30;}
function main()
{
//get the size of the whole array
int arSize = sizeof(arSTRUCT);
//get the size of the first element in the array
int arElementSize = sizeof(arSTRUCT*);
//get the array length
int arLen = arSize/sizeof(arSTRUCT*);
//report what we find
printf("nArray size in bytes = %i", arSize);
printf("nArray element size in bytes = %i", arElementSize);
printf("nArray length = %i", arLen);
}