mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reword External Function Calls paragraph in docs
Reword External Function Calls opening paragraph to improve clarity
This commit is contained in:
parent
dea1b9ec79
commit
d1465dd0f7
@ -65,9 +65,10 @@ uses up at least one stack slot and there are only 1024 slots available.
|
|||||||
External Function Calls
|
External Function Calls
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
The expressions ``this.g(8);`` and ``c.g(2);`` (where ``c`` is a contract
|
Functions can also be called using the ``this.g(8);`` and ``c.g(2);`` notation, where
|
||||||
instance) are also valid function calls, but this time, the function
|
``c`` is a contract instance and ``g`` is a function belonging to ``c``.
|
||||||
will be called "externally", via a message call and not directly via jumps.
|
Calling the function ``g`` via either way results in it being called "externally", using a
|
||||||
|
message call and not directly via jumps.
|
||||||
Please note that function calls on ``this`` cannot be used in the constructor,
|
Please note that function calls on ``this`` cannot be used in the constructor,
|
||||||
as the actual contract has not been created yet.
|
as the actual contract has not been created yet.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user