Mac to Windows

David Thompson dthmpsn1 at uiuc.edu
Tue Apr 1 06:46:12 PDT 2008


>  > Only the functions added with Pan 3 and 4 show a coloured layout in 
>>  the Panorama Refence Wizard, the later additions are black on grey 
>>  only.
>
>Sorry, that observation seems not to be completely true.
>
>Now, after I sent my posting, I find some functions marked for Pan 5 
>or higher that are displayed in the colored layout, too.

Those with the colored layout are the built in 
commands, functions and operators. Those that are 
black on grey are the custom statements and 
functions. A custom statement is just a procedure 
in one of the libraries. When you use a custom 
statement you are essentially doing a FarCall to 
that procedure. A custom function is basically an 
alias for some formula that was used to define 
it. For example

arraycontains(thearray,thetext,thesep)

is just another way of writing

arraysearch(thearray,thetext,1,thesep)>0

Arraycontains( is a custom function and will 
appear black on grey. Arraysearch( and the > 
operator are built in and will be colored.

In the Panorama Reference wizard, the 
documentation of a custom function will include 
the formula it represents. For custom statements 
you have the option of pressing command-1 or 
choosing View Source... from the Reference menu 
to see the code of the procedure you will be 
calling when you use that statement.

Dave


More information about the Qna mailing list