okay im n00b at this code, i would like know which actions i should take next, ive tried this below elseif code and i can see the code, but whats the best easiest quickest correct procedure now, where to go from here?
Is this okay so far mate then i will move onto macros e.g eax = 1 etc ;-)
program WIN32CUI 'con-fun-pro';
#include 'ch.zir';
//TODO - Code
if (1 == 1) {
our hubs a private hub
} elseif (1 == 2) {
you can use our public hub
} else {
you can use any public hub
}
// conditions functions procedures
procedure our hubs a private hub() {
print('But, you need to be a member to enter our hub!\r\n');
}
procedure you can use our public hub() {
print('Hey, you need to find it before you can enter our public hub!\r\n');
}
procedure why dont you try public hubs() {
print('Aha, you wont have a problem finding and entering other hubs!\r\n);
}
Exitprocess(0);
Alright I`ve made a small mistake small one. I forgot to add --- >>[ ' ] after my last procedure call after \r\n'); instead i done --- >> \r\n); and missed out the all important --- >> [ ' ]
[code]
procedure why dont you try public hubs() {
print('Aha, you wont have a problem finding and entering other hubs!\r\n);
}
[\code]
when i should have called procedure this way
[code]
procedure why dont you try public hubs() {
print('Aha, you wont have a problem finding or entering other hubs!\r\n');
[\code]
i would have EDIT`d this but i think my browser hides the show edit button
program WIN32CUI 'con-fun-pro';
#include 'ch.zir';
//TODO - Code
if (1 == 1) {
our hubs a private hub
} elseif (1 == 2) {
you can use our public hub
} else {
you can use any public hub
}
// conditions functions procedures
procedure our hubs a private hub() {
print('But, you need to be a member to enter our hub!\r\n');
}
procedure you can use our public hub() {
print('Hey, you need to find it before you can enter our public hub!\r\n');
}
procedure why dont you try public hubs() {
print('Aha, you wont have a problem finding and entering other hubs!\r\n');
}
Exitprocess(0);
functions and procedures can not contain multiple words
program WIN32CUI 'con-fun-pro';
#include 'ch.zir';
// conditions functions procedures
procedure our_hubs_a_private_hub() {
print('But, you need to be a member to enter our hub!\r\n');
}
procedure you_can_use_our_public_hub() {
print('Hey, you need to find it before you can enter our public hub!\r\n');
}
procedure why_dont_you_try_public_hubs() {
print('Aha, you wont have a problem finding and entering other hubs!\r\n');
}
//TODO - Code
if (1 == 1) {
our_hubs_a_private_hub();
} elseif (1 == 2) {
you_can_use_our_public_hub();
} else {
you_can_use_any_public_hub();
}
Exitprocess(0);
You need to try compile your code when you make changes, the compiler will notify you about mistakes.