I won't be mentioning any specific code, but I'll provide an algorithm. Think of it as a challenge ;)
-Load the file that will receive the appended source code into one slot (the program that was loaded in PTC)
-Load the file to be appended into another slot (the argument to APPEND in PTC)
-Read each line from the source file and insert it at the end of the destination file, in order.
Good luck. Be sure to use the manual.
APPEND for Smilbasic 3ds?
Root / Programming Questions / [.]
jamieyelloCreated:
There's no function like APPEND like there was in the old Petit Computer, does anyone know how to do the same thing in Smilebasic? (Add one program to the end of another)
whoops title typo
Ok, just checking in case there was a better way. I knew there was a way to read and write programs.
I'll make my own "APPEND" program, or maybe I'll base it off a modern programming language where it's never permanently attached, just during runtime.
Oh wow. Didn't even know that.Actually, you should just be able to copy and paste the code into another program, right? You can copy multiple lines now, although I'm not sure if there's any limit to how many or not.Easiest solution to me lol.