That is true.
But I'd like to get them perhaps like this..
f = getFunctionsList;
print(f);
And the output would be like this..
abs acos Array.concat Array.copy Array.fill .. aso
This is not the best way, I'm afraid but supposing the html file is up
to date, this would do it for a start..
// Macro to get all built in macro-functions (fetch from URL)
URLsrc =
File.openUrlAsString("
http://rsbweb.nih.gov/ij/developer/macro/functions.html");
SRClines= split(URLsrc,"\n");
bif = newArray();
for (i=0; i<SRClines.length; i++){
if (matches(SRClines[i], ".*<a name=.*") ){
if (matches(SRClines[i], ".*<a name=\".*") ){
} else {
redux = replace(SRClines[i], ".*<a name=", "");
redux = replace(redux, ">.*", "");
if (matches(redux, "[A-Z]{1}") ){
} else {
bif = Array.concat(bif,redux); }}}}
print("Functions found: "+lengthOf(bif));
bifs = Array.print(bif);
// END OF MACRO
I just thought there might be a function or a way to get this list directly.
Regards,
Rainer
Am 21.02.2012 16:42, schrieb John Oreopoulos:
> This list is located here:
>
>
http://rsbweb.nih.gov/ij/developer/macro/functions.html>
> John Oreopoulos
>
>
> On 2012-02-21, at 10:34 AM, Rainer M. Engel wrote:
>
>> Hello there..
>>
>> I'd like to get a list of all built-in functions of the macro language.
>>
>> Is there a way to achieve this?
>>
>> Regards,
>> Rainer
>>
>> --
>> Rainer M. Engel, Dipl. Digital Artist
>> scientific|Media GbR
>> Pichelsdorferstr. 143
>> D-13595 Berlin