Author |
Message
Pages: 1
|
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [114] $ symbol in macro - posted: 2011-10-24 21:15:53 Hi OverHertz. in zirutils.zir there were those two macros Code:
so i want to know when we need to use $ symbol with macro parameters like strlcpy macro, and when we not need it like FillBuffer macro. Emil. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [116] - posted: 2011-10-25 15:31:36 sorry i believe i may have just missed to write the $ before the variable names when converting the procedure to an inline procedure always macro variables begin with $, this allows the compiler to quickly know the difference and also makes it easier to read - allowing for someone to know which are macro variables and which are real variables ps: Please remember to use code block when posting code. Code:
Thanks for report also. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 11 user(s) online. 0 member(s) and 11 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 |