Author | Message | ||||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1719] Initalized data size is too large - posted: 2015-02-17 11:36:07 Code:
| ||||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1729] - posted: 2015-02-18 16:26:03 Seems it similar to this bug: Code:
Result: Code:
And this: Code:
| ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1741] - posted: 2015-02-19 22:27:22 Fixed for next release, I also found a related bug which was outputting garbled characters in some cases. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1750] - posted: 2015-02-20 19:36:22 Still not fixed: Code:
| ||||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1757] - posted: 2015-02-22 16:00:00 Code:
Compile -- ok, but actually Ziron craches. Result only this: Code:
Code:
| ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1769] - posted: 2015-02-23 13:21:54
Also fixed for next release. Regarding the output, it looks correct, char* is 4 bytes each, however this may be a good idea to allow ziron to create an array of pointers to strings, perfect for string tables, so maybe I will update this. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. | ||||
0CodErr Ziron Guru (send private message) Posts: 199 Topics: 37 Location: | [1788] - posted: 2015-02-24 10:50:11
For example: Code:
Code:
| ||||
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1789] - posted: 2015-02-24 11:28:20 Yes, this is usually the case for constant strings. The 2 options are.... when you want to assign a string as characters to a variable you would use ord (regardless of size).... Or the compiler detects pointer types and creates pointers to the data instead. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 8 user(s) online. 0 member(s) and 8 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 |