#1

Hi, all! I am starting to learn PAWNO, and i have some questions. I know this is very simple, but please bare with me, because i am a beginner in PAWNO

What is = and ==?
Reply
#2

When you use "=" it means you are assigning something to the some value
Код:
new variable_A; // You create new variables ( empty "box") 
new variable_B;

variable_A = 1; // putting some value in "boxes"
variable_B = 243;
variable_A (variable_B) -> your container
1 (243) -> some value

and with "==" you check if something is equal to something else
Код:
if( variable_A == variable_B )
{
    // if variable_B is equal  to variable_A this part of code will be executed
}
Reply
#3

Guy @up was first, remove this post.
Greetz,
LetsOWN
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)