diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-05-27 13:03:11 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-05-28 11:50:23 -0400 |
commit | 919a95860a57a19903dc900900477062a8be193e (patch) | |
tree | e72d49f72988a29bff0f90594bc7bc04ce8446b5 /doc/script_commands.txt | |
parent | 43a4bcac64d0aeb908d7bc91218e73f55ee00a6e (diff) | |
download | hercules-919a95860a57a19903dc900900477062a8be193e.tar.gz hercules-919a95860a57a19903dc900900477062a8be193e.tar.bz2 hercules-919a95860a57a19903dc900900477062a8be193e.tar.xz hercules-919a95860a57a19903dc900900477062a8be193e.zip |
flag the pow() buildin as deprecated
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 2ceb8696b..70306ba96 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8032,11 +8032,19 @@ instead if they want it so much. *pow(<number>, <power>) + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @ /!\ This command is deprecated @ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + Returns the result of the calculation. Example: .@i = pow(2, 3); // .@i will be 8 +This command is deprecated and it should not be used in new scripts, as it is +likely to be removed at a later time. Please use the exponentiation operator, +ie: (2 ** 3) instead of pow(2, 3) + --------------------------------------- *log10(<number>) |