; Section 1 -- Financial Basics ; Answer 1 ; "How can I create a budget that I can really keep?" [budgeting] <-- guide seed for this answer ; Version a: load each movie just before we play it. ; Ultimately, we want to load all the movies and then ; play all of them, but right now it's not working to load ; multiple movies. ; ; This is Jane's answer ; ; Indicate that we want to count by frames FF (count by frames) ; Load in some bitmaps. BLoad 1 b01bk01.bmp BMove 1 205 91 BLoad 2 b01bk02.bmp BMove 2 205 92 BLoad 3 b01bk03.bmp BMove 3 205 92 ; ; See how many children they have. If the value is missing from ; user profile, assume 0. LD 1 0 UProfile 1 numdeps ; ; Load and play preamble. HOst 1 1 110 MPart 1 0 149 BPlay 1 1 MPart 1 150 777 ; Check number of children JGt 1 1 0 ; zero children MPart 1 837 971 JUmp 4 ; LAbel 1 JGt 2 1 1 ; 1 child MPart 1 1032 1161 JUmp 4 LAbel 2 ; > 1 child MPart 1 1227 1353 LAbel 4 ; ; Done with children. Play end. ; BPlay 2 1 MPart 1 1416 1797 BPlay 3 1 MPart 1 1798 1985 BPlay 3 0 MPart 1 1986 2193 EXit