Author |
Message
Pages: 1
|
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [983] uncompleted parameter - posted: 2011-12-09 17:44:17 i was playing with some code and needed to use wsprintf function , found it commented in user32.zir file header , declared like this Code:
then i want to call it with more than 2 parameters , ziron did not allow that, so i made this macro to call it with any numbers of arguments Code:
so it would be better if ziron allow uncompleted parameters. another workaround is telling zrion to did not check for the amount of parameters just push all arguments and call the function. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [987] - posted: 2011-12-09 21:42:26 i have implemented this, but for now it is only accepted for imported functions, i will add support for internal functions for next release if i get time... Code:
sample: Code:
output: Code:
i've updated the beta Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [989] - posted: 2011-12-09 21:46:36 very nice , thank you Mr. Colin. http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 9 user(s) online. 0 member(s) and 9 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 |