Author | Message | ||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1774] - posted: 2015-02-23 13:54:57
Code:
Code:
And in this case type of 'gp_ax' used. Also in usual functions we did not write type of them. But if we really will use type of function then it of course good idea | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1785] - posted: 2015-02-23 22:39:59 I have been considering options of adding types to functions using a similar C like syntax, but this is on my "undecided" list for now. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1787] - posted: 2015-02-24 10:25:34 It is possible to do it by analogy with: Code:
Code:
| ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1790] - posted: 2015-02-24 11:31:50 I thought about this way, but I was uncomfortable with the syntax Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1791] - posted: 2015-02-24 11:34:36 Options are: 1. Code:
2. Code:
3. Code:
4. Code:
5. Code:
6. Code:
7. Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1792] - posted: 2015-02-24 12:38:37 As for me then #1 and #6 seems are good variants. But advantage of #1 that we can distinguish type at the beginning of function. Also i would like to pay attention that if we will add in future some other parameter then we maybe need to use semicolon. Like this: Code:
| ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1793] - posted: 2015-02-25 13:22:18 OK maybe I will give it a try this way and see how it goes. I've added [post 1792] type #1 to my todo list. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1798] - posted: 2015-02-26 23:42:22 This is implemented for next release. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 8 user(s) online. 0 member(s) and 8 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51 Welcome to our newest member, yecate |