Read-only variables

Essentially all items of lens data can be referenced by name in expressions. OSLO contains functions that return value of these data items. Normally, you reference such data using conventional C syntax. If you want to retrieve the value of the third thickness, you use th[3]. If you want the refractive index at wavelength 1 on surface 3, you use rn[3][1].

Next Page | Previous Page | Chapter Summary | Table of Contents


Copyright © 1997 Sinclair Optics Inc. All rights reserved.
Page last updated 19970601