BIS fnc dbValueId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Database |GROUP1=")
m (Some wiki formatting)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
|version2= 0.50


|gr1= Database |GROUP1=
|gr1= Database
____________________________________________________________________________________________


| Converts string to value definition or vice versa. |DESCRIPTION=
|descr= Converts string to value definition or vice versa.
____________________________________________________________________________________________


| valueString call [[BIS_fnc_dbValueId]]; |SYNTAX=
|s1= valueString call [[BIS_fnc_dbValueId]]


|p1= valueString - [[String]]: Converts string to value definition OR|PARAMETER1=
|p1= valueString - [[String]] or [[Array]]:
|p2= valueString - [[Array]]: Converts value definition to string|PARAMETER2=
* [[String]] - converts string to value definition
* [[Array]]: converts value definition to string


| |RETURNVALUE=
|r1=
____________________________________________________________________________________________


|x1= <code>"MYVALUE" call BIS_fnc_dbValueId; {{codecomment|// "&MYVALUE"}}</code> |EXAMPLE1=
|x1= <sqf>"MYVALUE" call BIS_fnc_dbValueId; // "&MYVALUE"</sqf>
|x2= <code>["&MYVALUE"] call BIS_fnc_dbValueId; {{codecomment|// "MYVALUE"}}</code> |EXAMPLE2=
____________________________________________________________________________________________


| [[:Category:Function Group: Database|Database functions]] [[BIS_fnc_dbClassCheck]] [[BIS_fnc_dbClassId]] [[BIS_fnc_dbClassIndex]] [[BIS_fnc_dbClassList]] [[BIS_fnc_dbClassRemove]] [[BIS_fnc_dbClassReturn]] [[BIS_fnc_dbClassSet]] [[BIS_fnc_dbConfigPath]] [[BIS_fnc_dbImportConfig]] [[BIS_fnc_dbImportXML]] [[BIS_fnc_dbisClass]] [[BIS_fnc_dbisValue]] [[BIS_fnc_dbPrint]] [[BIS_fnc_dbSymbolClass]] [[BIS_fnc_dbSymbolValue]] [[BIS_fnc_dbValueCheck]] [[BIS_fnc_dbValueIndex]] [[BIS_fnc_dbValueList]] [[BIS_fnc_dbValueRemove]] [[BIS_fnc_dbValueReturn]] [[BIS_fnc_dbValueSet]] |SEEALSO=
|x2= <sqf>["&MYVALUE"] call BIS_fnc_dbValueId; // "MYVALUE"</sqf>


|seealso= [[:Category:Function Group: Database|Database functions]] [[BIS_fnc_dbClassCheck]] [[BIS_fnc_dbClassId]] [[BIS_fnc_dbClassIndex]] [[BIS_fnc_dbClassList]] [[BIS_fnc_dbClassRemove]] [[BIS_fnc_dbClassReturn]] [[BIS_fnc_dbClassSet]] [[BIS_fnc_dbConfigPath]] [[BIS_fnc_dbImportConfig]] [[BIS_fnc_dbImportXML]] [[BIS_fnc_dbisClass]] [[BIS_fnc_dbisValue]] [[BIS_fnc_dbPrint]] [[BIS_fnc_dbSymbolClass]] [[BIS_fnc_dbSymbolValue]] [[BIS_fnc_dbValueCheck]] [[BIS_fnc_dbValueIndex]] [[BIS_fnc_dbValueList]] [[BIS_fnc_dbValueRemove]] [[BIS_fnc_dbValueReturn]] [[BIS_fnc_dbValueSet]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Database|{{uc:dbValueId}}]]
[[Category:Functions|{{uc:dbValueId}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:dbValueId}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:dbValueId}}]]

Latest revision as of 23:22, 12 July 2022

Hover & click on the images for description

Description

Description:
Converts string to value definition or vice versa.
Execution:
call
Groups:
Database

Syntax

Syntax:
valueString call BIS_fnc_dbValueId
Parameters:
valueString - String or Array:
  • String - converts string to value definition
  • Array: converts value definition to string
Return Value:
Return value needed

Examples

Example 1:
"MYVALUE" call BIS_fnc_dbValueId; // "&MYVALUE"
Example 2:
["&MYVALUE"] call BIS_fnc_dbValueId; // "MYVALUE"

Additional Information

See also:
Database functions BIS_fnc_dbClassCheck BIS_fnc_dbClassId BIS_fnc_dbClassIndex BIS_fnc_dbClassList BIS_fnc_dbClassRemove BIS_fnc_dbClassReturn BIS_fnc_dbClassSet BIS_fnc_dbConfigPath BIS_fnc_dbImportConfig BIS_fnc_dbImportXML BIS_fnc_dbisClass BIS_fnc_dbisValue BIS_fnc_dbPrint BIS_fnc_dbSymbolClass BIS_fnc_dbSymbolValue BIS_fnc_dbValueCheck BIS_fnc_dbValueIndex BIS_fnc_dbValueList BIS_fnc_dbValueRemove BIS_fnc_dbValueReturn BIS_fnc_dbValueSet

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note