param – Talk
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "Killzone Kid" to "Killzone_Kid") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | |||
<dd class="notedate">Posted on Jan 30, 2017 - 18:55 (UTC)</dd> | <dd class="notedate">Posted on Jan 30, 2017 - 18:55 (UTC)</dd> | ||
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt> | <dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Not sure there is an added value to write: | Not sure there is an added value to write: | ||
<code>private _pos = param [0, [0,0,0], [objNull, []], [2,3]];</code><br | <code style="display: block">private _pos = param [0, [0,0,0], [objNull, []], [2,3]];</code><br> | ||
instead of :<br | instead of :<br> | ||
<code>_pos = param [0, [0,0,0], [objNull, []], [2,3]]; // private is implicit</code><br | <code style="display: block">_pos = param [0, [0,0,0], [objNull, []], [2,3]]; // private is implicit</code><br> | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
:: >// private is implicit <- No it is not. [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 08:02, 31 January 2017 (CET) | |||
:: >// private is implicit <- No it is not. [[User: | :: >// No it is not. <- So? could you be so kind as to give an example which gives a different behavior, with or without private in front of param?. [[User:Pierre MGI|Pierre MGI]] ([[User talk:Pierre MGI|talk]]) 08:54, 31 January 2017 (CET) | ||
::: _var = param [.....] <- assigns param value to _var<br> | |||
private _var = param [.....] <- assigns param value to _var and makes _var private<br> | |||
I don't know what else can I explain, this seems pretty obvious [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 10:11, 31 January 2017 (CET) |
Latest revision as of 13:48, 12 March 2024
- Posted on Jan 30, 2017 - 18:55 (UTC)
- Pierre MGI
-
Not sure there is an added value to write:
private _pos = param [0, [0,0,0], [objNull, []], [2,3]];
instead of :
_pos = param [0, [0,0,0], [objNull, []], [2,3]]; // private is implicit
- >// private is implicit <- No it is not. Killzone_Kid (talk) 08:02, 31 January 2017 (CET)
- >// No it is not. <- So? could you be so kind as to give an example which gives a different behavior, with or without private in front of param?. Pierre MGI (talk) 08:54, 31 January 2017 (CET)
- _var = param [.....] <- assigns param value to _var
- _var = param [.....] <- assigns param value to _var
private _var = param [.....] <- assigns param value to _var and makes _var private
I don't know what else can I explain, this seems pretty obvious Killzone_Kid (talk) 10:11, 31 January 2017 (CET)