Page 1 of 1
Some Questions.
Posted: Tue Feb 07, 2012 11:42 am
by fingus
I´ve got some Questions:
- Is there an "onerror"-eventhandler?
- Is it possible to show a display on the current active screen after hidedisplay(), showdisplay() ?
And to follow the Workbench-Tooltypes-Rules:
- Is it possible to use Tooltypes in this way:
(NOSOUND) means "disabled" or "FALSE"
NOSOUND means "enabled" or "TRUE"
instead of:
NOSOUND=VALUE
- Every Hollywood-App is handled as Commodity, so it is possible to add a CX_Key?
Re: Some Questions.
Posted: Thu Feb 16, 2012 6:12 pm
by airsoftsoftwair
I´ve got some Questions:
- Is there an "onerror"-eventhandler?
No, but something like this is planned for easier error handling. Allanon has also already requested this.
- Is it possible to show a display on the current active screen after hidedisplay(), showdisplay() ?
Currently not, but might be added in the future.
And to follow the Workbench-Tooltypes-Rules:
- Is it possible to use Tooltypes in this way:
(NOSOUND) means "disabled" or "FALSE"
NOSOUND means "enabled" or "TRUE"
instead of:
NOSOUND=VALUE
That's already working here! Which Hollywood version do you use?
- Every Hollywood-App is handled as Commodity, so it is possible to add a CX_Key?
Currently not, but might be added in the future

Re: Some Questions.
Posted: Tue Dec 02, 2025 7:52 am
by Bugala
I guess by now this OnError has happened, what was the implementation?
Im recalling Hollywood had some command to disable crashing on error and instead just continue, but I dont remember this commands name as I by defailt would not use it. Now, however, I exceptionally have one line where I want to avoid crashing in case it errors.
Re: Some Questions.
Posted: Tue Dec 02, 2025 11:19 am
by Flinx
Bugala wrote: ↑Tue Dec 02, 2025 7:52 am
I guess by now this OnError has happened, what was the implementation?
Maybe
this one?
But I usually use the the construct from
here, for example:
Code: Select all
Local err, id=?LoadBrush(Nil,vfile$)
If err<>#ERR_NONE
...
Re: Some Questions.
Posted: Tue Dec 02, 2025 12:30 pm
by plouf
ExitOnError()
Enables and disables quit/raise error
You can activate before your command enable later
Or you put on top of script to not crash everywharee
Re: Some Questions.
Posted: Tue Dec 02, 2025 8:02 pm
by Bugala
Yes, this was it, thanks!
Couldn't figure out the name, although funnily, I did check the forum with OnError, but not the Hollywood manual.