|
Post by rikky on Mar 15, 2020 8:52:55 GMT 1
Hello again, I'm using a Fossil from about 3 days ago. Following program works, as expected: DECLARE variable$ ASSOC STRING
FUNCTION PRINT_SOMETHING$() RETURN "something" END FUNCTION
A$ = PRINT_SOMETHING$()
variable$("bla") = A$
PRINT variable$("bla") But the next program, doesn't, while it used to work a few versions ago: DECLARE variable$ ASSOC STRING
FUNCTION PRINT_SOMETHING$() RETURN "something" END FUNCTION
variable$("bla") = PRINT_SOMETHING$()
PRINT variable$("bla") The result is: /home/pi/test.bac:13:1: error: '__b2c__PRINT_SOMETHING__b2c__string_var_tmp' undeclared (first use in this function) Rik.
|
|
|
Post by Pjot on Mar 15, 2020 11:25:01 GMT 1
Thanks Rik,
You're right, this is a regression starting from 3.9.2 where new functionality was introduced - assign assoc arrays directly to each other.
The fix already is available in fossil.
Thanks again, Peter
|
|