exercises in teaching elementary level to describe and apply
syntax varies with visual basic powerpoint on
description, images, animation presentazione.ppt
code to copy and paste objects on form with user creatoda
http://digilander.libero.it/francescovise/visualpre/visapre.htm
http://digilander.libero.it/francescovise/visualpre/andlogica.htm
http://digilander.libero.it/francescovise/visualpre/andlogica.ppt
http://digilander.libero. com / francescovise / visualpre / andlogica.GIF
exercise in teaching elementary
with visual basic powerpoint on
syntax with variable logical AND
true if both conditions are present
exercise in elementary education on visual basic powerpoint
syntax with variable logical AND
true if both conditions are present
Rem Rem control logic functions
function
Rem And true true TRUE true
Rem both conditions in this example, if x and y are positive
Private Sub CommandButton1_Click ()
Dim x As Integer Dim y As Integer
As String Dim q q =
".... "
x = 10 y = 20
Lista.AddItem (x & & y q) occurs
If (x, y) Then
Lista.AddItem (both true positives "& x * y)
Else
List . AddItem ("False" & x + y)
End If End Sub Private Sub
CommandButton2_Click () Dim x As Integer
Dim y As Integer Dim q As String
q = "...."
x = -10 y = 20
Lista.AddItem (x & & y q) occurs
If (x, y) Then
Lista.AddItem ("true" & x * y)
Else
Lista.AddItem (not both false positive "& x + y)
End If End Sub Public Function
verification (x As Integer, y As Integer)
If x> 0 and y> 0 Then check = True
checks = False Else End
If End Function
No comments:
Post a Comment