Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/overhertz/domains/codeziron.com/public_html/ziron/ziron.db.connector.php on line 13 code:zIRON - Get the latest releases plus source-codes and tutorials - Simplifed Assembly Programming Language.
Register | Login
Forum Index > Requests and Feedback > for with variable
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[957] for with variable - posted: 2011-12-04 18:14:03

Hi Colin.

sometimes i need to use a variable with for block, something like that
Code:
  int32 maxVal = 1000;
  int32 minVal = 500;
  for( Eax = minVal to maxVal)
   {
      ........
      ........
   }
 


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

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[962] - posted: 2011-12-05 18:19:16
It is now possible to do this.

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: 638
Topics: 103

Location:
Alex, Egypt
[964] - posted: 2011-12-05 18:47:18

thank you Colin.

also need that
Code:
  int32 var;
  Ecx += var; 


i know it can be like that
Code:
  add Eax,var;


but as you know , heih level has it's attractive.


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

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[967] - posted: 2011-12-05 19:00:10
you need? you mean you would like smile

anyways i have added this but it will need a bit testing. 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

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[968] - posted: 2011-12-05 19:05:40

of course this while loop will not end.smile
Code:
  while(i need == i would like)
   {
     ...........
   } 


again thank you.

http://www.freewebs.com/ogremagic/index.htm
Pages: 1
create new reply


Quick reply:

Message:



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


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