Page 1 of 1

Hollywood Arexx Port

Posted: Fri Jul 19, 2013 10:13 am
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

Re: Hollywood Arexx Port

Posted: Sat Jul 20, 2013 12:58 pm
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

Re: Hollywood Arexx Port

Posted: Sun Jul 21, 2013 12:06 am
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

;-)

Re: Hollywood Arexx Port

Posted: Mon Jul 22, 2013 2:15 pm
by ArtBlink
Hello andreas

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

It is send to Arexx port, pager_message_port or other ?

Thanks

Re: Hollywood Arexx Port

Posted: Mon Jul 22, 2013 3:54 pm
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".

Re: Hollywood Arexx Port

Posted: Wed Jul 24, 2013 4:14 pm
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

Re: Hollywood Arexx Port

Posted: Tue Aug 06, 2013 1:58 pm
by airsoftsoftwair
A list of all Hollywood errors is included in the documentation.