Hollywood Arexx Port

Everything that doesn't really have to do with Hollywood
Post Reply
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Hollywood Arexx Port

Post by ArtBlink »

Hello Andreas,

Hollywood have Arexx port to communicate with over software? If Yes, what is name please?

I want to recover the number of the line that have an error when we compile or execute script, as this, my minihollyedit can go directly at the line where they are an error ;-)

With this, we can win most time in coding ;-)

Thanks
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood Arexx Port

Post by airsoftsoftwair »

You can realize this by using the -debugdevice argument. Start Hollywood like this:

Code: Select all

1> Hollywood test.hws -debugdevice ::stdout
With this argument all output will be written to the current output file handle (normally the console). Whenever an error occurs, Hollywood will print the following:

Code: Select all

@_hwerror49:dh0:Hollywood/Scripts/test.hws*Cannot read file test.jpg!
You can parse this string to find out the line number of the error (49) as well as the script (dh0:Hollywood/Scripts/test.hws) as well as the error message ("Cannot read file test.jpg!"). That is also how hw4cubic and Codebench do their error handling. The general template for the error messages is:

Code: Select all

@_hwerrorLINENUMBER:FILE*MESSAGE
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Re: Hollywood Arexx Port

Post by ArtBlink »

Thanks...

My editor is very complete now, i have add a lot of option, in config, multitabs, langage, execution option....

I have correct a lot of bug, we can drag and drop file on the editor and it load the script and full more option

I must make :

Add new holly function
Add help node command directly
Add guide (in french sorry)

And more option like in compilation ;-)

If some people want to help me in translation in other langage, tell me at:

artblink.hollywoodATfree.fr

AT=@

Please... holly user... help me in translation ;-)


WE MUST GOOD HOOLYWOOD API ON OUR SYSTEM

;-)
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Re: Hollywood Arexx Port

Post by ArtBlink »

Hello andreas

I don't fond the file with error!!!

It is send to Arexx port, pager_message_port or other ?

Thanks
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood Arexx Port

Post by airsoftsoftwair »

It is send to stdout. You can redirect it to a file by using the > directive, i.e.

Code: Select all

1> Hollywood >ram:hollywood_output test.hws -debugdevice @stdout
This will redirect all output from Hollywood to the file "ram:hollywood_output".
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Re: Hollywood Arexx Port

Post by ArtBlink »

New :

It's work fine ;-)

The editeur can now go directly to the good line where they are an error ;-)

I display the error type but in english :-(

Have you got a list of Hollywood Error?

Thanks
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood Arexx Port

Post by airsoftsoftwair »

A list of all Hollywood errors is included in the documentation.
Post Reply