Hollywood Arexx Port

Everything that doesn't really have to do with Hollywood

Hollywood Arexx Port

Postby ArtBlink » Fri Jul 19, 2013 10:13 am

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
ArtBlink
 
Posts: 426
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France

Re: Hollywood Arexx Port

Postby airsoftsoftwair » Sat Jul 20, 2013 12:58 pm

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
User avatar
airsoftsoftwair
 
Posts: 2028
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Hollywood Arexx Port

Postby ArtBlink » Sun Jul 21, 2013 12:06 am

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: 426
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France

Re: Hollywood Arexx Port

Postby ArtBlink » Mon Jul 22, 2013 2:15 pm

Hello andreas

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

It is send to Arexx port, pager_message_port or other ?

Thanks
ArtBlink
 
Posts: 426
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France

Re: Hollywood Arexx Port

Postby airsoftsoftwair » Mon Jul 22, 2013 3:54 pm

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".
User avatar
airsoftsoftwair
 
Posts: 2028
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Hollywood Arexx Port

Postby ArtBlink » Wed Jul 24, 2013 4:14 pm

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
ArtBlink
 
Posts: 426
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France

Re: Hollywood Arexx Port

Postby airsoftsoftwair » Tue Aug 06, 2013 1:58 pm

A list of all Hollywood errors is included in the documentation.
User avatar
airsoftsoftwair
 
Posts: 2028
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Off topic

Who is online

Users browsing this forum: No registered users and 1 guest