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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:INFO function}}
 +
{{Documentation/CalcFunc SpreadsheetTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_ERRORTYPE_function
 +
|NextPage=Documentation/How_Tos/Calc:_ROW_function
 +
}}__NOTOC__
  
 
== INFO ==
 
== INFO ==
Line 9: 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 42: 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