Author |
Message
Pages: 1
|
jackel Member (send private message) Posts: 19 Topics: 6 Location: | [1333] my 1st ever try if; elseif; else; . jack - posted: 2013-02-17 04:35:18 if (1 == 1) { eatnicefood } elseif (1 == 2) { eatnicerfood } else {donteatnicefood { } Exitprocess(0); jack. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1334] - posted: 2013-02-17 14:10:12 first problem i see is you did not use Code:
ok at your code, your else has a small problem: Code:
should be Code:
and then remove the final } take a look here "Control Structures" for more info. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
jackel Member (send private message) Posts: 19 Topics: 6 Location: | [1335] - posted: 2013-02-17 14:34:54 Code:
EDIT by Admin - added code block jack. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1336] - posted: 2013-02-17 14:56:00 when posting code, put it inside Code:
ps if you want to see some visual output for testing Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
jackel Member (send private message) Posts: 19 Topics: 6 Location: | [1337] - posted: 2013-02-17 15:12:10 il use: Code:
jack. |
Currently Active Users: There are currently 14 user(s) online. 0 member(s) and 14 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 |