| Author | Message 
						Pages: 1 					 | 
| Emil_halim Ziron Beta Tester  (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [714] local variable error - posted: 2011-11-16 20:43:26 this works fine , note well , right is global variable here Code: but this does not work correctly , try compile the 2 examples and see the results not well right is local variable here Code: i think getting address of local variable has some problem. http://www.freewebs.com/ogremagic/index.htm | 
| Admin Site Admin  (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [716]  - posted: 2011-11-16 23:03:54 What is the problem? I do not have any error. 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 | [717]  - posted: 2011-11-16 23:07:19 ok , run the 2 code and compare the results , it is logical error. http://www.freewebs.com/ogremagic/index.htm | 
| Admin Site Admin  (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [718]  - posted: 2011-11-16 23:13:15 ok i see.. it is because you are often using EAX ... too often :P local variables called like so: @var, will use eax trashing the value... in your case: Code: this code here is destroyed before being pushed onto the stack.. so it produces something like: Code: what you could do is... Code: which should produce: Code: I will come up with a better solution for this in a newer version, once i finish the new lea handler  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 | [719]  - posted: 2011-11-16 23:17:29 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 | [720]  - posted: 2011-11-16 23:34:28 slightly better version: Code: Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | 
| Currently Active Users: There are currently 1 user(s) online. 0 member(s) and 1 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 225 | Posts: 1850 | Members: 51 | Active Members: 51 Welcome to our newest member, yecate |