[Gambas-user] Task.Value vanishes

Tobias Boege taboege at ...626...
Thu Jan 22 23:20:05 CET 2015


Hi Benoit,

we encountered a problem with Task.Value; at least I think it's a problem.
If you have a Task which returns a value and you read it using hTask.Value,
you can't read it again. The reason is straight-forward in gbx_c_task.c.

Why is that so? I wouldn't expect a property read to have write (erase)
consequences. Demonstration project attached.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eat-task-value-0.0.1.tar.gz
Type: application/octet-stream
Size: 3870 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150122/78699a3f/attachment.obj>


More information about the User mailing list