Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!by afoken (Chancellor) |
on Mar 04, 2018 at 17:48 UTC ( [id://1210320]=note: print w/replies, xml ) | Need Help?? |
Any example(s) available for further enlightenment? No, sorry. Confidential information. But if the device was a MIDI player, you could adjust playback speed, volume, pitch, and repeat count for each folder of MIDI files stored in ROM. "Programs" would be composed of the playback settings and a folder name. You could have a "program" named "sad" that plays one ROM folder slowly, in a low pitch and at a low volme. And a "program" named "happy" that plays the same folder much quicker, louder and faster. "...No call, no goto, no if, no stack." Well, not for us. ;-) And to stay with the MIDI player example, you could select a folder of MIDI files to be played, but they would always be played in the same order. Yes, this looks crazy. But trust me, the device won't be a MIDI player. And when it is used as intended, those restrictions make perfectly sense. The users don't want to change the play order. Being able to modify the "playback" settings is sufficient for them. So they do not need call, goto, if or a stack. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|