11.07.2015 Views

Advanced Programming Guide

Advanced Programming Guide

Advanced Programming Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

viii • ContentsStructured Data Formats . . . . . . . . . . . . . . . . . . 300Specifying Argument Passing Conventions . . . . . . . . . 301Method 2: Generating Wrappers . . . . . . . . . . . . . . 301Additional Types and Options . . . . . . . . . . . . . . . 302Structured Data Formats . . . . . . . . . . . . . . . . . . 302Enumerated Types . . . . . . . . . . . . . . . . . . . . . . 302Procedure Call Formats . . . . . . . . . . . . . . . . . . . 303Call by Reference . . . . . . . . . . . . . . . . . . . . . . . 303Array Options . . . . . . . . . . . . . . . . . . . . . . . . 304Non-Passed Arguments . . . . . . . . . . . . . . . . . . . 304Argument Checking and Efficiency Considerations . . . . 305Conversions . . . . . . . . . . . . . . . . . . . . . . . . . . 305Compiler Options . . . . . . . . . . . . . . . . . . . . . . . 307Evaluation Rules . . . . . . . . . . . . . . . . . . . . . . . 311Method 3: Customizing Wrappers . . . . . . . . . . . . . . 313External Function Entry Point . . . . . . . . . . . . . . . 313Inspecting Automatically Generated Wrappers . . . . . . 315External API . . . . . . . . . . . . . . . . . . . . . . . . . 3197.3 System Integrity . . . . . . . . . . . . . . . . . . . . . . . 3377.4 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . 337A Internal Representation and Manipulation 341A.1 Internal Organization . . . . . . . . . . . . . . . . . . . . 341Components . . . . . . . . . . . . . . . . . . . . . . . . . . 342Internal Functions . . . . . . . . . . . . . . . . . . . . . . 342Flow of Control . . . . . . . . . . . . . . . . . . . . . . . . 343A.2 Internal Representations of Data Types . . . . . . . . . . 344Logical AND . . . . . . . . . . . . . . . . . . . . . . . . . 345Assignment Statement . . . . . . . . . . . . . . . . . . . . 345Binary Object . . . . . . . . . . . . . . . . . . . . . . . . . 345Break Statement . . . . . . . . . . . . . . . . . . . . . . . 345Name Concatenation . . . . . . . . . . . . . . . . . . . . . 346Complex Value . . . . . . . . . . . . . . . . . . . . . . . . 346Communications Control Structure . . . . . . . . . . . . . 346Type Specification or Test . . . . . . . . . . . . . . . . . . 347Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347Equation or Test for Equality . . . . . . . . . . . . . . . . 347Error Statement . . . . . . . . . . . . . . . . . . . . . . . 347Expression Sequence . . . . . . . . . . . . . . . . . . . . . 348Floating-Point Number . . . . . . . . . . . . . . . . . . . . 348For/While Loop Statement . . . . . . . . . . . . . . . . . 348

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!