|
Post by bigbass on Mar 15, 2020 22:46:17 GMT 1
Hello Peter could you take a look at the documentation
the example doesn't compile for me
Thanks
I know how to do this now but the docs need an adjustment
RECORD rec LOCAL id LOCAL zip$[2] END RECORD
FUNCTION func TYPE rec_type LOCAL var = { 0 } TYPE rec_type var.id = 1 var.zip$[0] = "XJ342" var.zip$[1] = "YP198" RETURN var ENDFUNCTION rec = func() PRINT rec.id PRINT rec.zip$[0] PRINT rec.zip$[1]
|
|
|
Post by Pjot on Mar 16, 2020 17:49:57 GMT 1
Thanks bigbass,
This is a regression in 3.9.3 where the internal housekeeping has been redesigned.
The fix is already available in the latest fossil repo.
Best regards Peter
|
|
|
Post by bigbass on Mar 16, 2020 18:59:41 GMT 1
Thanks Peter
I will mark it SOLVED but someone may stumble and will need to update to the latest fossil the docs are correct though
the expected output is now working thanks for a speedy fix Joe
1 XJ342 YP198
|
|