A.1 the fpuprint( ) function, The fpuprint( ) function – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 353

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Appendix A - Excel Functions 333

The fpuprint( ) Function

Function Name

fpuprint( ) - return the mode of the spreadsheet to the operator

Synopsis

char fpuprint( )

Description

The

fpuprint() function is used to indicate the mode in which the Excel spreadsheet was entered.

If a 0 is returned, it indicates that the spreadsheet is in configuration mode, which was entered by
selecting Menu > Configuration. If a 1 is returned, the spreadsheet is in print mode, which was
entered by selecting Menu > Print Log.

Inputs

None.

Outputs

None.

Returns

The mode of the current Excel spreadsheet (1 or 0).

Example

This example returns a 0 if the spreadsheet was entered via the Configuration option, or a 1 if it
was entered via the Print Log option.

In Microsoft Excel:

=fpuprint()

Advertising