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?
Some Questions.
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Some Questions.
No, but something like this is planned for easier error handling. Allanon has also already requested this.I´ve got some Questions:
- Is there an "onerror"-eventhandler?
Currently not, but might be added in the future.- Is it possible to show a display on the current active screen after hidedisplay(), showdisplay() ?
That's already working here! Which Hollywood version do you use?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
Currently not, but might be added in the future- Every Hollywood-App is handled as Commodity, so it is possible to add a CX_Key?
Re: Some Questions.
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.
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.
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.
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
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
Christos
Re: Some Questions.
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.
Couldn't figure out the name, although funnily, I did check the forum with OnError, but not the Hollywood manual.