Routines
bmcnicho
Posts: 40
I thought it would go unnoticed, and tried to gloss over it, but there's always one student....
In the boe-bot book we used subroutines. I understand those.
Now we are modifying the sumobot book for the boe-bot. In this book, it has what seems like subroutines, but they are never defined as such, and they aren't called with GOSUB but GOTO. Also, they don't end in RETURN. Are these main routines? And why would there be more than one main routine? Why would you use this rather than subroutines?
Please help me answer my student.
Thanks,
Diane
In the boe-bot book we used subroutines. I understand those.
Now we are modifying the sumobot book for the boe-bot. In this book, it has what seems like subroutines, but they are never defined as such, and they aren't called with GOSUB but GOTO. Also, they don't end in RETURN. Are these main routines? And why would there be more than one main routine? Why would you use this rather than subroutines?
Please help me answer my student.
Thanks,
Diane
Comments
Diane,
Could you post one of the programs in question? Or a page in a book to look at?
Thank you for your help. I'm just a mom trying to teach at my homeschool co-op. I'm not a trained programmer or computer person.
Edit: and nobody is "just" a mom. EndEdit
Ken Gracey
It did take me forever to figure out what was going on with the Branch. But I really like how it's done.
My kids are loving this class. We've only had 1 day, and one kid has already designed a scoop out of a switch cover, and several others have e-mailed me saying how much fun they're having.
Thanks again for your help!
Here's a pic that the student sent me. Within 24 hours of the first class... I love when kids are excited about learning.