On Fri, 5 Oct 2012, Sven Schreiber wrote:
Am 04.10.2012 21:39, schrieb Allin Cottrell:
> OK, encouraged by this I've changed VNAMELEN to 32 in CVS and
> snapshots. At this point I'm treating this as experimental,
> and I haven't changed statements in the docs regarding the
> maximum length of identifiers.
Thanks, I think this is a very sensible limit. Just one further
question, isn't there some 31-character identifier length thingy in C?
As I'm relatively C-ignorant I don't quite remember what that really
was, just out of curiosity, since gretl is built on C, could that become
relevant?
The C standard mandates that implementations shall support "63
significant initial characters in an internal identifier" and
"31 significant initial characters in an external identifier".
That's the required minimum; common implementations are likely
to support more. But this is not very relevant to the max that
gretl can support, since hansl identifiers are just strings so
far as C is concerned, and strings can be any length.
Allin