Hi boys!
I would like to ask a question to all the experts of BB3D!
Here is the source example:
; ------------------------------------------------------------------------
Type tHuman
Field Name$
End Type
Global Good.tHuman
Global Bad.tHuman
Good.tHuman = New tHuman
Good\Name = "Gianluca"
Good.tHuman = New tHuman
Good\Name = "Cinzia"
Bad.tHuman = New tHuman
Bad\Name = "Ciccio"
Bad.tHuman = New tHuman
Bad\Name = "Peppino"
Print "------ nice guys "
For Good.tHuman = Each tHuman
Print Good\Name
Next
Print "------ Now bad guys "
For Bad.tHuman = Each tHuman
Print Bad\Name
Next
While Not KeyHit(1)
Wend
; ------------------------------------------------------------------------
And this is what it stamps to video:
------ Nice Guys
Gianluca
Cinzia
Ciccio
Peppino
------ Now Bad Guys
Gianluca
Cinzia
Ciccio
Peppino
The question is this:
it’s possible in BBD3 to do so that the var “Good” hold only "Gianluca, cinzia" and the var Bad "ciccio and peppino?"
if yes…. how?
It seems that blitz basic is not able' to manage two lists separate of the same type….
Don't tell me that is so!!!
Hi and thanks
Gianluca!
------------------
Ciao Ciao!
[GregBUG]
I would like to ask a question to all the experts of BB3D!
Here is the source example:
; ------------------------------------------------------------------------
Type tHuman
Field Name$
End Type
Global Good.tHuman
Global Bad.tHuman
Good.tHuman = New tHuman
Good\Name = "Gianluca"
Good.tHuman = New tHuman
Good\Name = "Cinzia"
Bad.tHuman = New tHuman
Bad\Name = "Ciccio"
Bad.tHuman = New tHuman
Bad\Name = "Peppino"
Print "------ nice guys "
For Good.tHuman = Each tHuman
Print Good\Name
Next
Print "------ Now bad guys "
For Bad.tHuman = Each tHuman
Print Bad\Name
Next
While Not KeyHit(1)
Wend
; ------------------------------------------------------------------------
And this is what it stamps to video:
------ Nice Guys
Gianluca
Cinzia
Ciccio
Peppino
------ Now Bad Guys
Gianluca
Cinzia
Ciccio
Peppino
The question is this:
it’s possible in BBD3 to do so that the var “Good” hold only "Gianluca, cinzia" and the var Bad "ciccio and peppino?"
if yes…. how?
It seems that blitz basic is not able' to manage two lists separate of the same type….
Don't tell me that is so!!!
Hi and thanks
Gianluca!
------------------
Ciao Ciao!
[GregBUG]