All right, so welcome back again. So in this particular session, we try to see how to work with arguments with commander, right? So let's go to work with you. So this is going to be our version three, right? And then working with arguments. So something very simple.
So let's see this one. And then let's run it here. Because it has to be also working with Acme. So how do you add document to your ci right through simple to be program? document, they can just add your document to it. So let's see an example to be adding two numbers, there's going to be our first number is going to be inside this square bracket.
So let's get us number one. Right in now can you scoot to other stuff document then there's going to be another one which is going to be dentists. Number two, very simple, right? That is how to add a document to your CLR very interesting. So if I save it and I come back run it again. Like I said, I have CLR options, right you have options here, which can be divisional help that you have are number one and number two for this argument very, very interesting, very simple.
So how do you actually work with this argument? So, there are several ways of working it out, you can just run it like this. So, to analyse for, right, there are going to be documents, right and you are very good at putting it matters very well. Let's see an example. So I'm just going to add an action to it in the action went to a function that will take off again is an anonymous function to just pass in our value here of number one. And then number two, very interesting.
I cannot show you a lot of loose numbers. So console, dot log number passing up Hello, buddy. It's going to be number one Chris, it off. Go. Yeah, position matters very well. Then let's do the second one for second number two.
Second number two, we have to create this one. So I don't think you with a note for let's see with an English right again, I don't know how fist number two second number for any values are very, very good policies are very important if I change the four, and to four is going to be the first number, and then just going to be the second number right to the locations or the position matters. Perfect. So now let's see how to do something useful with this. Because I want to add these numbers together. I just come back to the same thing here.
And then I can add him here to replace it by going with this little option of console dot log. We can just go with var result. And I'll go with mine. Yeah, several ways of committing that integer into that string into an integer. I can just use a normal format number and I pass In particular, number one, right, that's another way of doing it plus number, then a passing number is another way of looking at it, right? It's going to make good progress we know can be console, right?
Then you can just pass in the log, then are passing by results, right. So that's one of the ways of working with it, you can use a number to convert it right, we can use pass it into them into it. So let's see this one. And then unless you want to see us, bring it back excited. Let's run our number. We are declined this 400 again, now that has added for answers to us.
Very, very interesting. So that is one way of working with it. So I can actually make it like, let's say 30 and then 40. When added to us, that's one of the ways of working with it makes it very, very interesting, right? So you just want to go with argument and you to pass in your argument, then to pass them into your function and do whatever they want to do to this one. We have committed Your strength into numbers.
And then we'll try another option. Sorry, which is going to be this is the internet. We did a copy this one. Yeah. And then let's try it again. So this can also be done in this particular format or the path.
Right, you can pass it. Pass. Thanks. Perfect. So any of them's going to expire, come back again, I run it again. Now it's still going to work, right?
So use a number format is this quite beta converted to flow to Indiana number, but it's only going to be for it. Thank you for watching and see in the next session, stay blessed.