Register | Login
Forum Index > Bugs and Fixes > ++ did not work
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[685] ++ did not work - posted: 2011-11-14 20:48:52

the increment with variable compiled ok but did not wrok
Code:
dword indx;
indx = 0;
indx++;  // this did not increase the indx var
print('ndx = ',indx);


http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 932
Topics: 54

Location:
OverHertz Studio
[687] - posted: 2011-11-14 23:19:29
is that a local or global variable?

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Admin
Site Admin

avatar

(send private message)

Posts: 932
Topics: 54

Location:
OverHertz Studio
[688] - posted: 2011-11-14 23:27:10
nm, local variable inc and dec had small error smile fixed and updated the beta package.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[689] - posted: 2011-11-15 07:17:17

thanks . works fin now.

http://www.freewebs.com/ogremagic/index.htm
0CodErr
Ziron Guru
(send private message)

Posts: 199
Topics: 37

Location:
[1481] - posted: 2015-01-17 22:12:03
Global variables: Code:
byte  MyByte;
word  MyWord;
dword MyDword;

Code:
MyByte++;
MyWord++;
MyDword++;
Invalid operand(s)
Admin
Site Admin

avatar

(send private message)

Posts: 932
Topics: 54

Location:
OverHertz Studio
[1482] - posted: 2015-01-17 22:49:32
Fixed for next release. Thanks for report.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 7 user(s) online. 0 member(s) and 7 guest(s)
Most users ever online was 999, May 11, 2018, 10:01 am.


Statistics:
Threads: 224 | Posts: 1847 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2021 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd