Re: Euphoria On Linux

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ferlin Scarborough wrote:
> This SHEBANG(?) thing, does it need to be at the top of all my Euphoria for
> Linux programs?  

Not at all. It's just a convenience.
It lets you run a program by typing "foo" instead of "exu foo".

> And if so, how is this handled in cross platform programs, or
> does Dos and Windows versions of Euphoria ignore this line?

ex and exw ignore it. It's just a comment to them.
However, I found that Apache Web Server on Windows
will read the shebang line and locate/execute exw (exwc) just like
on Linux. By adding a shebang line to some Euphoria CGI programs
on Windows/Apache I didn't have to translate or bind those 
programs into an executable file. That's more convenient when
you are developing, and still making frequent changes.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu