Difference between revisions of "Documentation/How Tos/Calc: INFO function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation/MasterTOC
+
{{DISPLAYTITLE:INFO function}}
|bookid=1234'''
+
{{Documentation/CalcFunc SpreadsheetTOC
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
+
|ShowPrevNext=block
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Spreadsheet_functions|<div style="font-size: 140%;">Spreadsheet Functions]]
+
|PrevPage=Documentation/How_Tos/Calc:_ERRORTYPE_function
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_ROW_function
+
|NextPage=Documentation/How_Tos/Calc:_ROW_function
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_ERRORTYPE_function
+
}}__NOTOC__
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Number_Conversion_functions
+
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Statistical_functions
+
|toccontent= <div style="padding: 4px; font-size: 130%; font-weight: hidden; background-color:#DCE9FC;">FUNCTIONS</div>
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Spreadsheet Lookup functions</div>
+
* [[Documentation/How_Tos/Calc:_ADDRESS_function|<div style="font-size: 120%;">Address]]
+
* [[Documentation/How_Tos/Calc:_CHOOSE_function|<div style="font-size: 120%;">Choose]]
+
* [[Documentation/How_Tos/Calc:_HLOOKUP_function|<div style="font-size: 120%;">Hlookup]]
+
* [[Documentation/How_Tos/Calc:_INDEX_function|<div style="font-size: 120%;">Index]]
+
* [[Documentation/How_Tos/Calc:_INDIRECT_function|<div style="font-size: 120%;">Indirect]]
+
* [[Documentation/How_Tos/Calc:_LOOKUP_function|<div style="font-size: 120%;">Lookup]]
+
* [[Documentation/How_Tos/Calc:_MATCH_function|<div style="font-size: 120%;">Math]]
+
* [[Documentation/How_Tos/Calc:_OFFSET_function|<div style="font-size: 120%;">Offset]]
+
* [[Documentation/How_Tos/Calc:_VLOOKUP_function|<div style="font-size: 120%;">Vlookup]]
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Spreadsheet Information functions</div>
+
* [[Documentation/How_Tos/Calc:_AREAS_function|<div style="font-size: 120%;">Areas]]
+
* [[Documentation/How_Tos/Calc:_COLUMN_function|<div style="font-size: 120%;">Column]]
+
* [[Documentation/How_Tos/Calc:_COLUMNS_function|<div style="font-size: 120%;">Columns]]
+
* [[Documentation/How_Tos/Calc:_ERRORTYPE_function|<div style="font-size: 120%;">Errortype]]
+
* [[Documentation/How_Tos/Calc:_INFO_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Info]]
+
* [[Documentation/How_Tos/Calc:_ROW_function|<div style="font-size: 120%;">Row]]
+
* [[Documentation/How_Tos/Calc:_ROWS_function|<div style="font-size: 120%;">Rows]]
+
* [[Documentation/How_Tos/Calc:_SHEET_function|<div style="font-size: 120%;">Sheet]]
+
* [[Documentation/How_Tos/Calc:_SHEETS_function|<div style="font-size: 120%;">Sheets]]
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Other functions</div>
+
* [[Documentation/How_Tos/Calc:_DDE_function|<div style="font-size: 120%;">Dde]]
+
* [[Documentation/How_Tos/Calc:_HYPERLINK_function|<div style="font-size: 120%;">Hyperlink]]
+
* [[Documentation/How_Tos/Calc:_STYLE_function|<div style="font-size: 120%;">Style]]
+
}}__TOC__
+
  
 
== INFO ==
 
== INFO ==
Line 45: Line 14:
 
: <tt>'''type'''</tt> is a text string which determines the type of information to return:
 
: <tt>'''type'''</tt> is a text string which determines the type of information to return:
  
<blockquote>
+
{| border="1" cellpadding="10" cellspacing="10" align="left"
{| border="0" cellpadding="0" cellspacing="10" align="left"
+
 
|-valign="top"
 
|-valign="top"
|type'''
+
!type||information returned
|information returned'''
+
 
+
 
|-valign="top"
 
|-valign="top"
|"<tt>'''osversion'''</tt>"
+
|"<tt>'''osversion'''</tt>"||Always "<tt>'''Windows (32-bit) NT 5.01'''</tt>", for compatibility reasons.
|Always "<tt>'''Windows (32-bit) NT 5.01'''</tt>", for compatibility reasons.
+
 
+
 
|-valign="top"
 
|-valign="top"
|"<tt>'''system'''</tt>"
+
|"<tt>'''system'''</tt>"||The type of the operating system:<br/>"<tt>'''WNT'''</tt>" for Microsoft Windows
|The type of the operating system:<br/>"<tt>'''WNT'''</tt>" for Microsoft Windows<br/>"<tt>'''LINUX'''</tt>" for Linux<br/>"<tt>'''SOLARIS'''</tt>" for Solaris.
+
"<tt>'''LINUX'''</tt>" for Linux<br/>"<tt>'''SOLARIS'''</tt>" for Solaris.
 
+
 
|-valign="top"
 
|-valign="top"
|"<tt>'''release'''</tt>"
+
|"<tt>'''release'''</tt>"||The product release identifier, for example "<tt>'''680m9(Build:9238)'''</tt>".
|The product release identifier, for example "<tt>'''680m9(Build:9238)'''</tt>".
+
 
+
 
|-valign="top"
 
|-valign="top"
|"<tt>'''numfile'''</tt>"
+
|"<tt>'''numfile'''</tt>"||Always <tt>'''1'''</tt>, for compatibility reasons.
|Always <tt>'''1'''</tt>, for compatibility reasons.
+
 
+
 
|-valign="top"
 
|-valign="top"
|"<tt>'''recalc'''</tt>"
+
|"<tt>'''recalc'''</tt>"||The current formula recalculation mode, either "<tt>'''Automatic'''</tt>" or "<tt>'''Manual'''</tt>",  
|The current formula recalculation mode, either "<tt>'''Automatic'''</tt>" or "<tt>'''Manual'''</tt>", or the equivalent in your language ('''Tools - Options - Language Settings - Language''').
+
or the equivalent in your language ({{menu|Tools|Options|Language Settings|Language}}).
 
|}
 
|}
</blockquote>
+
 
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
Line 78: Line 37:
 
: returns <tt>'''WNT'''</tt> on a Windows system, or other text on other operating systems as above.
 
: returns <tt>'''WNT'''</tt> on a Windows system, or other text on other operating systems as above.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: Information functions|Information functions]]
 
* [[Documentation/How_Tos/Calc: Information functions|Information functions]]
 
* [[Documentation/How_Tos/Calc: Spreadsheet functions|Spreadsheet functions]]
 
* [[Documentation/How_Tos/Calc: Spreadsheet functions|Spreadsheet functions]]

Latest revision as of 12:07, 2 February 2024



INFO

Returns information about the current working environment.

Syntax:

INFO(type)

type is a text string which determines the type of information to return:
type information returned
"osversion" Always "Windows (32-bit) NT 5.01", for compatibility reasons.
"system" The type of the operating system:
"WNT" for Microsoft Windows

"LINUX" for Linux
"SOLARIS" for Solaris.

"release" The product release identifier, for example "680m9(Build:9238)".
"numfile" Always 1, for compatibility reasons.
"recalc" The current formula recalculation mode, either "Automatic" or "Manual",

or the equivalent in your language (Tools → Options → Language Settings → Language).


Example:

INFO("system")

returns WNT on a Windows system, or other text on other operating systems as above.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_INFO_function&oldid=259992"
Views
Personal tools
Navigation
Tools