From 7c808bbba3ea9a61cde81615f8f673367200cd3e Mon Sep 17 00:00:00 2001 From: gambas Date: Tue, 26 Feb 2019 21:01:18 +0100 Subject: [PATCH] Define a new limit constant, that is the maximum length of the System.Language variable. It is 16 bytes. [INTERPRETER] * NEW: Define a new limit constant, that is the maximum length of the System.Language variable. It is 16 bytes. --- main/share/gb_limit.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/share/gb_limit.h b/main/share/gb_limit.h index da4b40039..f0fefce16 100644 --- a/main/share/gb_limit.h +++ b/main/share/gb_limit.h @@ -99,5 +99,8 @@ /* Maximum number of digits in a Float */ #define MAX_FLOAT_DIGIT 15 +/* Maximum length of the System.Language property */ +#define MAX_LANG 16 + #endif