Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Funny Coding
#6
Or try this:

Code: (Select All)

Type Struc
  x(1 To 10) As Integer
  y As _Bit
  c As Integer
  z As Integer
End Type
Dim Struct1(1 To 10) As Struc
Struct1(1).z = 1
Struct1(10).z = 10
For L = Struct1(1).z To Struct1(10).z
  Struct1(L).c = Struct1(L).z * 10
Next
For L = 1 To 10
  Print Struct1(L).c
Next
End

If it creates an error then comment it out..
Reply


Messages In This Thread
Funny Coding - by eoredson - 12-30-2024, 04:39 AM
RE: Funny Coding - by SMcNeill - 12-30-2024, 04:46 AM
RE: Funny Coding - by gaslouk - 12-30-2024, 06:49 AM
RE: Funny Coding - by vince - 12-30-2024, 06:31 AM
RE: Funny Coding - by Kernelpanic - 12-30-2024, 09:54 PM
RE: Funny Coding - by eoredson - 12-31-2024, 05:20 AM
RE: Funny Coding - by SMcNeill - 12-31-2024, 10:16 AM
RE: Funny Coding - by bplus - 12-31-2024, 01:41 PM
RE: Funny Coding - by eoredson - 01-01-2025, 12:30 AM
RE: Funny Coding - by Pete - 01-01-2025, 02:13 AM
RE: Funny Coding - by eoredson - 01-01-2025, 05:09 AM



Users browsing this thread: 9 Guest(s)