Yes I was aware that procedures can us variables 
BTW, you will have to re-teach me PASCAL
Yes I remember using the word procedure, I've done work in PASCAL back then
But did not pursue. I do remember READLN and WRITELN lol. I could make a text version and console version of LGM lol!

BTW, you will have to re-teach me PASCAL

Yes I remember using the word procedure, I've done work in PASCAL back then

But did not pursue. I do remember READLN and WRITELN lol. I could make a text version and console version of LGM lol!
Quote from: edsquare on August 02, 2014, 05:50:53 AMQuoteQuoteBy the way how can I know in C++ when something is a funtion or a procedure?, you see I also have a C++ to Pascal converter
Difference between function and procedure is very simply.
int addition (int a, int b)
(that's a function - it returns a value)
void decrypt (&bufferFile)
(executes code that will work directly
on bufferFile, nothing gets returned, note
that bufferFile is passed by reference).
Procedures are statements that get executed. So I can for example code a procedure that will directly decrypt or encrypt a file buffer which was passed by reference, in this case nothing is returned back. I just ran a procedure. A function would return something back and usually has stuff that gets evaluated.
You could also run a procedure that executes tasks and passes back whether it was successful or not. But using VOID, you are not returning any value. Of course someone will correct me if i'm wrong.
In my upcoming projects I will be using both functions and procedures,![]()
Lolof course I know what a function does and what a procedure does, what I meant was if there was some clue that saved me from reading all that piece of code, like in pascal you put the word procedure or function according the case. And don't give me the variables as a clue, because a procedure can have variables only it doesn't return a value, it just uses the variables to do whatever it was written to do.
Guess not eh? well to read thousands of lines of code![]()

Maybe Ill end up doing the python one and rebranding it as Quimera 

arse kissers or bother who knows.