1
00:00:00,330 --> 00:00:05,080
That's the only way that this expression is going to produce a true value.

2
00:00:05,100 --> 00:00:05,590
OK.

3
00:00:05,610 --> 00:00:07,380
Because you are using a carrot.

4
00:00:07,380 --> 00:00:13,530
Operator but in the previous example as you can see the use of this carrot operator here and the two

5
00:00:13,530 --> 00:00:19,680
sides of the expression the value of the two sides of the expression are are two OK are not against

6
00:00:19,740 --> 00:00:20,710
each other.

7
00:00:20,850 --> 00:00:21,490
OK.

8
00:00:21,810 --> 00:00:25,350
And the values of the two sides of the expression are not against each other.

9
00:00:25,350 --> 00:00:25,830
OK.

10
00:00:26,010 --> 00:00:27,370
Those values are true.

11
00:00:27,390 --> 00:00:33,350
So it's going to actually produce a false value but this time these two values are against each other.

12
00:00:33,390 --> 00:00:36,390
So this expression is going to produce a true value.

13
00:00:36,390 --> 00:00:39,060
So this line of code is actually get executed.

14
00:00:39,090 --> 00:00:43,140
OK so now let's actually comment out this if statement here.

15
00:00:43,140 --> 00:00:47,010
So I just wanted to type in C-h X true.

16
00:00:47,250 --> 00:00:48,970
Carrott false.

17
00:00:49,200 --> 00:00:50,350
Yes.

18
00:00:50,340 --> 00:00:54,780
That said checked and let's actually put in a pair of round brackets.

19
00:00:54,780 --> 00:00:59,830
And here again just refers to the name of our variable true and it's false.

20
00:01:00,570 --> 00:01:02,540
And then a question mark.

21
00:01:02,540 --> 00:01:05,920
True otherwise for.

22
00:01:06,390 --> 00:01:13,500
And here I am saying that if the value of this true character for the variable is true then assign the

23
00:01:13,500 --> 00:01:17,600
value 2 to this said check the method that is related to this object.

24
00:01:17,610 --> 00:01:26,070
Otherwise if the value of this true had true Chad is false actually is false then assigned a value follows

25
00:01:26,160 --> 00:01:29,670
To this I said checked Meffert that is related to this object.

26
00:01:29,670 --> 00:01:30,190
OK.

27
00:01:30,330 --> 00:01:33,420
So let's actually just create another line of code.

28
00:01:33,420 --> 00:01:40,010
See it checks to true Carrott false.

29
00:01:40,010 --> 00:01:42,710
No Dot said Check.

30
00:01:42,720 --> 00:01:47,190
Let's actually put in a pair of round brackets and add in say the apprentices.

31
00:01:47,240 --> 00:01:49,930
I can just type in an exclamation mark.

32
00:01:51,230 --> 00:01:54,950
True it false.

33
00:01:55,400 --> 00:01:56,730
OK question mark.

34
00:01:56,840 --> 00:02:00,740
True otherwise false.

35
00:02:01,160 --> 00:02:08,600
And here I am saying that if the value of these true false variables is is false then assigning the

36
00:02:08,600 --> 00:02:12,970
value true to this said check the method that is related to this object.

37
00:02:12,980 --> 00:02:16,370
Otherwise assign the value false to this set.

38
00:02:16,410 --> 00:02:18,930
Check them if that is related to this object.

39
00:02:19,010 --> 00:02:19,960
As you can see here.

40
00:02:20,060 --> 00:02:23,860
OK so now let's actually run our project and see the results.

41
00:02:23,870 --> 00:02:26,160
So as you can see here now.

42
00:02:26,200 --> 00:02:28,510
Again it is showing us the same results.

43
00:02:28,520 --> 00:02:32,270
The value of these two cannot falsifiable is true.

44
00:02:32,500 --> 00:02:36,020
OK because these two values are against each other.

45
00:02:36,140 --> 00:02:38,680
So it is now producing the true value.

46
00:02:38,900 --> 00:02:44,900
And here as you can see we said if the value of the first variable is true then assigned a value true

47
00:02:45,290 --> 00:02:48,710
to this check if it is related to dismount to this object.

48
00:02:48,710 --> 00:02:51,470
Otherwise assign the value false to this method.

49
00:02:51,710 --> 00:02:58,040
And here we are saying if the value of this true carried false valuable is false then assigned a value

50
00:02:58,050 --> 00:03:02,040
true to this up to this object.

51
00:03:02,520 --> 00:03:04,930
To discuss Meffert that is related to this object.

52
00:03:04,940 --> 00:03:07,640
Otherwise assign the value false to dismiss it.

53
00:03:07,640 --> 00:03:09,270
That is related to this object.

54
00:03:09,310 --> 00:03:11,980
OK so hopefully that makes sense.

55
00:03:12,140 --> 00:03:16,310
And let's actually go back inside this content.

56
00:03:16,460 --> 00:03:18,660
Underlying mean that I made that example.

57
00:03:18,830 --> 00:03:25,410
And then let's actually drag it another linearly out horizontal into this linearly and vertical here.

58
00:03:25,430 --> 00:03:33,250
OK and let's actually rake in a large takes you into this linearly out horizontal and double DoubleClick

59
00:03:33,250 --> 00:03:34,790
honied for the text.

60
00:03:34,790 --> 00:03:39,950
Just typing fonts carry true.

61
00:03:40,310 --> 00:03:46,640
OK so it's actually dragging a checkbox into this linearly or horizontal.

62
00:03:46,640 --> 00:03:49,050
So as you can see here this is the checkbox.

63
00:03:49,130 --> 00:03:50,280
Just put it here.

64
00:03:50,590 --> 00:04:00,440
Double click on it for the text just typing yes and for the ID just type in CMD X of false charites

65
00:04:01,080 --> 00:04:01,930
true.

66
00:04:02,700 --> 00:04:03,350
OK.

67
00:04:03,530 --> 00:04:07,400
Yes and that's actually correct.

68
00:04:07,410 --> 00:04:10,430
Another checkbox here besides this checkbox.

69
00:04:10,610 --> 00:04:12,710
Double click on it for the text.

70
00:04:12,740 --> 00:04:13,870
Just type in no.

71
00:04:14,120 --> 00:04:20,000
And for the ID just type in X fonts can it.

72
00:04:20,340 --> 00:04:22,140
True no.

73
00:04:22,710 --> 00:04:30,890
OK so if you've got an ID for this checkbox C-h x files scattered through yes and we've got an ID for

74
00:04:30,920 --> 00:04:31,710
this checkbox.

75
00:04:31,750 --> 00:04:33,910
C-h x false carrot through no.

76
00:04:34,020 --> 00:04:41,750
OK let's click on this are linearly out horizontal and check this checkbox your center underline horizontal

77
00:04:41,990 --> 00:04:46,400
that is related to describe the attributes of these linearly out horizontal.

78
00:04:46,670 --> 00:04:52,940
So now let's actually go back inside this activity that outfight here and then let's actually scroll

79
00:04:52,940 --> 00:04:56,260
to the top of the screen to the top of the file.

80
00:04:56,390 --> 00:04:59,480
Here let's actually create a comment OK.

81
00:04:59,970 --> 00:05:13,740
Follows carry it through that actually create a checkbox object see fonts Chad it true.

82
00:05:14,280 --> 00:05:15,510
Yes.

83
00:05:15,510 --> 00:05:21,340
Assignment operator now let's actually actually cast this object to a checkbox object.

84
00:05:21,510 --> 00:05:32,590
And here is just typing find you by ID are dot ID dot dot see it checks false challenged true.

85
00:05:32,820 --> 00:05:33,650
Yes.

86
00:05:33,960 --> 00:05:34,990
OK.

87
00:05:35,070 --> 00:05:41,960
Again let's actually create another checkbox see it checks false Chad it's true.

88
00:05:42,240 --> 00:05:44,440
No assignment operator.

89
00:05:44,520 --> 00:05:52,560
And here let's actually test this object to a checkbox object find view by ID or dot ID dot.

90
00:05:52,650 --> 00:05:58,460
See it takes four false chart it true.

91
00:05:58,920 --> 00:05:59,680
No.

92
00:06:00,150 --> 00:06:00,860
OK.

93
00:06:01,170 --> 00:06:04,690
And then we need to put a semicolon at the end of our statement.

94
00:06:04,710 --> 00:06:12,670
So now let's actually scroll down the file here and here let's actually create a comment for us.

95
00:06:12,800 --> 00:06:14,540
Try it through.

96
00:06:15,130 --> 00:06:22,310
OK so now let's actually create a boolean valuable boolean and the name of our value but is false.

97
00:06:22,380 --> 00:06:24,630
Carrott true.

98
00:06:24,780 --> 00:06:33,050
Assignment operator and here I want to actually create a boolean expression font's chatted through OK

99
00:06:33,090 --> 00:06:36,340
as you can see again these two values are against each other.

100
00:06:36,420 --> 00:06:41,760
So it is going to actually produce a true value and that true value is going to be assigned to this

101
00:06:41,760 --> 00:06:42,260
variable.

102
00:06:42,270 --> 00:06:43,200
OK.

103
00:06:43,230 --> 00:06:46,720
So let's actually create an if statement here.

104
00:06:46,740 --> 00:06:55,890
If the value of these falls are Carrott true valuable is true then a sign that actually executed this

105
00:06:55,890 --> 00:07:01,640
line of code here C-h X font's it through yes.

106
00:07:01,920 --> 00:07:03,750
That said check it.

107
00:07:03,810 --> 00:07:04,640
True.

108
00:07:04,900 --> 00:07:05,450
OK.

109
00:07:05,480 --> 00:07:11,730
Otherwise else if the value of this false carriage too variable is not true.

110
00:07:11,850 --> 00:07:12,690
So it is false.

111
00:07:12,690 --> 00:07:13,480
OK.

112
00:07:14,160 --> 00:07:22,440
If the value of these false Carrott true valuable is not true then execute this line of code here see

113
00:07:22,710 --> 00:07:29,310
X Files carried through no data said checked.

114
00:07:29,430 --> 00:07:30,330
True.

115
00:07:30,520 --> 00:07:31,040
OK.

116
00:07:31,290 --> 00:07:32,880
So hopefully that makes sense.

117
00:07:33,090 --> 00:07:36,070
And let's actually run our project and see what happens.

118
00:07:36,200 --> 00:07:36,980
OK everyone.

119
00:07:36,990 --> 00:07:43,050
Now as you can see here the value of this false a true variable is true.

120
00:07:43,080 --> 00:07:43,560
OK.

121
00:07:43,620 --> 00:07:51,120
As I said before when you are using this card operator in your boolean expressions are the only time

122
00:07:51,120 --> 00:07:57,540
that this expression is going to actually produce a true value is that the value of one side of the

123
00:07:57,630 --> 00:08:01,990
expression is against the value of the other side of the expression.

124
00:08:01,990 --> 00:08:02,640
OK.

125
00:08:03,120 --> 00:08:05,480
So we have false capital variable.

126
00:08:05,480 --> 00:08:08,120
So this expression is going to produce a true value.

127
00:08:08,280 --> 00:08:13,770
OK so now let's actually comment about this if if else statement here.

128
00:08:14,430 --> 00:08:15,050
OK.

129
00:08:15,330 --> 00:08:17,980
Just type in C-h x false.

130
00:08:18,320 --> 00:08:20,120
Carry it through.

131
00:08:20,820 --> 00:08:21,810
Yes.

132
00:08:21,810 --> 00:08:28,650
That said check it and let's actually put in a pair of round brackets and here inside the apprentice's

133
00:08:28,650 --> 00:08:37,040
just type in fonts carry it through questionmark through otherwise fots.

134
00:08:37,370 --> 00:08:37,690
OK.

135
00:08:37,700 --> 00:08:46,210
And here I am saying if the value of this false carry through variable is true which it is then assign

136
00:08:46,210 --> 00:08:52,160
the value true to this said checked Meffert that is related to this false carrot true.

137
00:08:52,170 --> 00:08:52,830
Yes.

138
00:08:53,010 --> 00:08:53,700
Object.

139
00:08:53,700 --> 00:08:54,570
OK.

140
00:08:54,720 --> 00:09:00,480
So as you can see here this tick box is actually checked and it's actually again just type in here.

141
00:09:00,500 --> 00:09:04,160
See it checks false.

142
00:09:04,580 --> 00:09:04,950
True.

143
00:09:04,970 --> 00:09:11,150
No that said check it and let's actually put in a pair of and brackets here and here.

144
00:09:11,250 --> 00:09:20,670
Let's actually put in an exclamation mark here fonts carried through questionmark through otherwise

145
00:09:21,120 --> 00:09:22,490
fonts.

146
00:09:22,740 --> 00:09:29,830
And here I am saying that if the value of this false character variable is actually false then assign

147
00:09:29,830 --> 00:09:35,190
the value true to this said check the method which is related to this object.

148
00:09:35,250 --> 00:09:35,760
OK.

149
00:09:35,880 --> 00:09:37,020
This component.

150
00:09:37,170 --> 00:09:44,190
Otherwise if the value of this false catch a true value is actually true then assigned a value false

151
00:09:44,520 --> 00:09:47,310
to this set check if it is related to this object.

152
00:09:47,310 --> 00:09:47,690
OK.

153
00:09:47,790 --> 00:09:52,980
So as you can see here these are checkboxes actually checked off OK.

154
00:09:53,400 --> 00:09:55,670
And this check box is on.

155
00:09:56,040 --> 00:09:57,530
So hopefully that makes sense.

