פארעפענטליכט: דאנערשטאג פבואר 21, 2013 1:07 pm
מיין היינטיגע ToDo ליסט...
- קאוד:
Sub tasksToDo()
Dim car, gift, pot, toys As Object
Dim businessCenter, shoppingCenter, walmart
car = New RentalCar
gift = New SilverPushka
pot = "20qtPot"
toys = "FisherPriceCarriage" & "FisherPriceDoll"
businessCenter = SortedSet(Of Stores)()
shoppingCenter = SortedSet(Of Stores)()
walmart = SuperStore()
With car
.size = "Midsize"
.make = "Toyota"
.model = "Corolla"
.color = "Gold"
.year = "2012"
.value = "FXV-5301"
End With
With shoppingCenter.Store
.Add(GoldenPalace)
.Add(ShefaAppliances)
End With
businessCenter.Store.Add(HealthMart)
While car.InPossession = True
HealthMart.TryCast(smallGrapeJuice, SparklingGrapeJuice)
GoldenPalace.EarRings.PickUp()
With ShefaAppliances
If IsAvailable(Money(gift.Cost)) Then
gift.Purchase()
Else
gift.Postpone()
End If
End With
walmart.cart.add(toys)
walmart.Purchase()
pot.toShviger.return = True
End While
End Sub