Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrays inside Types?
#11
(Yesterday, 02:48 PM)Kernelpanic Wrote: Same program: Why is the first entry always duplicated here ( summe = Liste(1).Index + Liste(2).Index )? Does anyone have an explanation for this? Thanks!
It's a copy-paste bug.... In your example, it should have been:
Code: (Select All)

...
Input "Zweite Zahl eingeben: ", wert
Liste(1).Index = wert

Input "Zweite Zahl eingeben: ", wert2
Liste(2).Index = wert2                              ' <===== should be *wert2* instead of *wert*
...


------------------------------------------------------------------------


(9 hours ago)hsiangch_ong Wrote: can't believe the commodore 64 is being sold again.  i don't think any of the ones sold as we speak.  are being used to program in basic.
I beg to differ... strongly!  Big Grin

PS: do you use a STT-system to write your posts (Speech To Text)?
If not, it is a bit hard to read your posts with all the unnecessary punctuation.
But if you use a STT-system then please ignore this comment/suggestion.  Wink
Who remembers QB30, GWBASIC, C64, ZX80?
Reply
#12
Quote:@Cookie Oscar -  It's a copy-paste bug....
Goddamn it... Thank you! - I need a drink! 

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Arrays as UDTs Pete 26 1,197 02-06-2026, 04:31 AM
Last Post: bplus
  Preserving multi-dim arrays Pete 5 413 12-19-2025, 03:17 PM
Last Post: Dimster
  Array out of passing arrays... Pete 2 406 09-22-2025, 08:53 PM
Last Post: ahenry3068
  Methods in types bobalooie 7 1,554 01-30-2025, 08:00 PM
Last Post: Pete
  C++ types > QB64 types: do we have an equivalent QB64PE page? madscijr 5 1,119 06-01-2024, 03:44 AM
Last Post: grymmjack

Forum Jump:


Users browsing this thread: 1 Guest(s)