Re: [GRASS-dev] Calling external functions

2010-02-05 Thread Gilbert Ferrara
Good Evening So for instance if I create an hello world function, in C, can I just call it from a Bash Script? as long as it is on my $PATH? On Fri, Feb 5, 2010 at 7:19 AM, Hamish hamis...@yahoo.com wrote: Gilbert Ferrara wrote: Is it possible to GRASS Scripts to call external functions? I

Re: [GRASS-dev] Calling external functions

2010-02-05 Thread Markus Neteler
On Fri, Feb 5, 2010 at 12:58 PM, Gilbert Ferrara gilbertferrara1...@gmail.com wrote: Good Evening So for instance if I create an hello world function, in C, can I just call it from a Bash Script? as long as it is on my $PATH? (yes) You can call the binary, i.e. creating the hello world binary

[GRASS-dev] Calling external functions

2010-02-04 Thread Gilbert Ferrara
Hello Is it possible to GRASS Scripts to call external functions? I mean compiled C functions that has nothing to do with GRASS API? Merci Thank you Gilbert ___ grass-dev mailing list grass-dev@lists.osgeo.org

Re: [GRASS-dev] Calling external functions

2010-02-04 Thread Hamish
Gilbert Ferrara wrote: Is it possible to GRASS Scripts to call external functions? I mean compiled C functions that has nothing to do with GRASS API? Yes. How exactly you call them will depend on what language you write your script in. It probably doesn't hurt to have the program be in your