'&/' operator now automatically converts its arguments to strings.

[INTERPRETER]
* NEW: '&/' operator now automatically converts its arguments to strings.
This commit is contained in:
gambas 2019-08-21 22:36:54 +02:00
parent 411ee75e7d
commit 7b74fec6cc

View file

@ -174,8 +174,10 @@ void SUBR_file(ushort code)
for (i = 0; i < NPARAM; i++)
{
/*VALUE_conv(&PARAM[i], T_STRING);*/
SUBR_get_string_len(&PARAM[i], &addr, &len);
VALUE_conv_string(&PARAM[i]);
addr = PARAM[i]._string.addr;
len = PARAM[i]._string.len;
//SUBR_get_string_len(&PARAM[i], &addr, &len);
if (len > 0)
{