Intrinsic Prototypes

Top  Previous  Next

The IDE has several features that help you use intrinsics. Here's a complete description of all the options:

 

1. Insert Intrinsic Prototype. The IDE can display a list of all of the intrinsics if you press Ctrl+F3. You can also show the intrinsic list if you right click on the editor window and select the Insert Intrinsic Prototype option.

 

The intrinsic list is alphabetized; and an incremental search is done, narrowing your choices as you type in more characters. The intrinsic display includes dummy arguments so you can see which parameters are expected. Hitting Enter inserts the prototype into your code text. Hitting the Esc key removes the intrinsic list without inserting the prototype.

IntrinsicList

 

2. Insert Intrinsic Declaration. This option inserts the declaration for the file containing the standard EXPL intrinsic declarations. Typically this will be something like this:

 

inc        C:\CXPL\EXPLCodes.xpl;        \intrinsic declarations

 

3. Intrinsic Hints. If you mouse-over an identifier in the source code that is an intrinsic, the prototype for the intrinsic will be displayed. This makes it easier to understand what the arguments to an intrinsic are supposed to do. For example, you might see an intrinsic that looks like this:

 

PlaySoundData(A(0),1024,1,8,16000,1,false);