Register | Login
Forum Index > Source Help > initializing arrey
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1227] initializing arrey - posted: 2012-05-25 15:37:36

does ziron allow initializing array when declare it , for example
Code:
 byre myarr[10] = 0,1,2,3,4,5,6,7,8,9;


if not , how can i make it.

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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1228] - posted: 2012-05-25 18:06:56
actually, ziron does not support this yet and infact it is a pretty important feature to add, so first thing when i return i will begin adding set initialized data.

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
[1240] - posted: 2012-06-01 18:06:58

also , how can i declare struct instance and initializing it.

for example
Code:
block GUID {
  DWord D1;
  Word D2;
  Word D3;
  byte D4[8];
}


GUID GUID_Key  = 0x55728220,0x0D33C,0x11CF,0x0BF,0x0C7,0x044,0x045,0x053,0x054,0x00,0x00;


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


Quick reply:

Message:



Currently Active Users:
There are currently 5 user(s) online. 0 member(s) and 5 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
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd