Hello, friends in the cities of Libya, tutorials today, we'll discuss about comparison in Libya,
so or here in functions programming, we have a comparison.
Belliard Basically, this is used in any program like if you want to control the temperature of room
or if you want to check the number of persons in a room and any comparison, you can use this.
So one by one I will discuss this.
So over here we have a do.
So in this case, if the X is equal to you are Vye, in that case you can go to the true value.
Like if we're here, we have four and over here we have two.
In that case, it is false.
And when I continuously run this and when X is equal to two, it will give me proof.
So this is the case of.
Comparison Belliard So we're here when it is not equal to when it is greater than when it is less than
when, it is greater than equal to, less than equal to, or when it is equal to zero.
So these are the functions you can use in your program.
Like if we have three or four zero two hundred and we in that we select our number and I want to check
that number.
It is greater than zero or less than zero or it is greater than a specific value or less than a specific
value.
We can check using these functions.
OK, it will give you any form of true and false only.
OK, so now I just read this.
This is the select function I like.
Now I.
Explain its function.
So.
Over here, this is the value.
True, if the value is true right now, it is a.
Function and or here it is, the value.
So when it is true, like in this case, when it is there, it will evaluate and if is there, it will
generate a value one.
So then I had one continuous run.
Right now it is false that we value one.
When it is true, it will come later.
So this is how you can use this.
Select function and level.
OK, so our next function is max minimum, if we have any function or any value, like in this case,
creative control over here, again, creative control.
And in this, you will want to check the value if the in this case we have a scalar value only order,
one value is there.
If we have a very we can find out, Max.
Minimum of that also.
So over here, this is the max over here.
This is the minimum like in this case or here is seven.
This is two.
So when I hit bottom in this maximum is seven and minimum we do it will generate maximum remaining value
of these two.
Then we have in range and cost.
Basically, when you don't control it over here, we have upper limit, then X and then lower limit.
And this is the code and this is the end function.
Basically over here I just create a control and again or here control it is the lower limit.
And this is my value of X and this is the cause, the value and this is the it is in range or not.
So my upper limit is like 10 and lower limit is zero.
And when I continuously run this, this is in range.
When I increase this, it is also in range cost values also there.
Right now, upper limit is reached and my gold value is 10, so you can set your value and this value
is right now exceeds input value is adding, but the value is ten.
So you can set your values and upper limit and you can find out it is in range or not in danger.
OK, not in that range.
So this is how you can use it.
Range and cost.
Then if you find out any empty.
Eddie, like over here first creator Eddy.
And in this case, I just assigned I use this and I use in theory and in that area I want to check if
there is any element is there or not.
When I hit on the.
So here it is empty because no element is in this.
So when I put an element in this, it is off.
So this is how you can check and empty it.
Then we have empty string.
You can check.
So first I take a.
Array of string.
So just put strict control in this.
Just connect this and create an integrated there, so again, in this case, I just.
I I'm not putting any value in this, I just click on one button, so right now it is off.
And I put.
And evalu.
So something is.
From or here it comes true if string or partisan and string or otherwise, this function return false.
OK, so this function is also designed to work with variant picture and dicy tags also.
So I just delete this first and I create a string over here and in the string I just connect this and
create an indicator over here.
When I don't unbutton it is on because the string is empty when I put any letter or any word in this
or any character in this case.
OK, this is how you can use and when you use.
Array of string like here I put.
There's one.
And when I mean, not this one.
In this case, I have to put a string in this.
So this is the case, I just connect this to this and this, because in this case, the input is spring
everything.
So I'll put this up also.
So when I in this case, I have poor values.
Again, I have poor values when I don't understand.
So right now, I wouldn't assigned any value like over here just.
Put a character in this A.
And when I hit bottom, this one is got some value.
This is not a string.
So it is of all the three are pasting like this.
And when I put on this also, it is also.
OK, so this is how you can use how you can find out.
Empty string in any.
So this is the similar desert, basically, it is a part of this deal.
So we're here I just the control and over here we have indicator.
So as the first character is a letter, not nomadic, it will create a true function.
So when I don't continuous one.
So when I put forty five or fifty five again, it is true when I put a letter because it will generate
to function when the first letter is a numeric.
In this case it is alphabetical.
So it is ok.
OK, so this is work for the symbol only it will check for only the first letter as you see it until
if represented a single digit range from zero to one.
If you string this function uses the first vector in the string, if character is a number, this function
interpret it as a value of the character.
OK, so next function.
In this case we have our hex digit.
So again, create control then the hex desert is zero to F..
So as I we don't continuous when I put it it will on when I put it also on and I put g it is off because
our value is zero.
One, two, three, four, five, six, seven, eight, nine a b c d e f hex this.
OK, so this is how you can use this one, this function.
Then we have our digit.
It is from zero to seven only.
So again, greater control you can check true only when the value is between zero to seven.
So when I put it over here, it is off when it is seven.
OK.
It is on so you can find out any octal hexadecimal or decimal using these functions.
So this is how you can use comparison Belad and this is the express we placed in comparison Pallett
or here you can use this function over here.
We if we want to compare any two with forms, you can use this.
OK, so these are the how you can compare like datapoints time span, time between points, time of
datapoint, single name.
So I take our example if they function.
And in this over here is I would hope, and over here is our constant value.
So I just take.
I just cleared and director, you can get away from also over here.
So over here I'm going.
Control.
And this is the result, it is in the form of BlueNotes also.
So you can use graph indicator or an indicator.
But in this case.
So I just put five in this and five in this, and when I hit on, it will generate up to function.
OK, so this is how you can use or I can take another example like.
I just create a sine wave, so I just go to express my and over here we have to do some later signal.
So I just take a sine wave.
And again, covid.
So this is a sine wave, I guess, to go to compare it over here.
I want to check it is equal to or not according to data points.
So just put OK.
This.
And over here, I just Beike.
Are four indicators in this case.
So then I don't understand.
So it will generate values in between.
OK, our.
In place of or when I hit on continuous.
Again, it will generate Samila basically takes the plane to a loop, according to data points from
021.
And when I put.
Or when I change the value from zero to one, so the comparison is like hundred.
And when I don't done the same cases there.
There is little.
But we got one result per data points, it will check one result for data point.
OK, so when in place of graph, when I use.
An American alligator in this case.
So it will give me.
One, because both the values are the same.
And when I change the sine wave to cause wave.
Or squaresville.
In that case, I know you don't run, but get zero because the sine wave is not equal to squared away.
So this is how you can use this comparison palette and Leffew.
Thank you.