Discuss Scratch

caczter1
Scratcher
2 posts

help required please

Hi all, can anyone help me with the following question…..


Amend the script to create a program that copies the sensor readings from the string to a list, putting the first sensor reading into the first position in the list, the second in the second position, etc., and working through the remainder of aRecord. Your program must use a pop_up_warning block to display the value of each sensor in turn.

Your program must work with any record, no matter how many sensors are contained in the record, and work with any pressure reading.

scubajerry
Scratcher
1000+ posts

help required please

Check this out.

http://scratch.mit.edu/projects/12076951/#editor

Last edited by scubajerry (Sept. 5, 2013 21:53:20)

caczter1
Scratcher
2 posts

help required please

sorry im a total noob at sense, i cant see where that helps…
scubajerry
Scratcher
1000+ posts

help required please

Try running it with your example. The PARSE WORD script does exactly what you asked for. Enter a COMMA (',) when it asks for a delimiter.

Powered by DjangoBB