[haiku-development] Re: Scripting a BListView with hey
- From: looncraz <looncraz@xxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sun, 12 Nov 2017 11:27:34 -0600
On 11/12/2017 08:03, Alexander G. M. Smith wrote:
Hmmm, I should add the error field back to my BMessages in
AGMSScriptOCron. Took it out because it was confusing users of "hey".
- Alex
Maybe the best solution would be to modify 'hey' to parse the error code
and even give the relevant constant (B_OK, B_ERROR,
B_MESSAGE_NOT_UNDERSTOOD, etc...).
The most obvious solution would be a bit confusing to some:
Reply BMessage(B_REPLY):
"error" (B_INT32_TYPE) : 0 (0x00000000) (B_OK)
So maybe:
Reply BMessage(B_REPLY):
ERROR : 0 (B_OK)
... would be more appropriate.
--The loon
Other related posts: