Using SENDFILE and RECVFILE

SENDFILE and RECVFILE are used for sending and receiving files between DSis and 3DSs that have Petit Computer, hence the functions' names. This is great for sharing files with people next to you, without converting the file into a QR code.

How to Use
You can use SEND- and RECVFILE in RUN mode or within a program (EDIT mode). Just use the format below:


 * SENDFILE "resource:file_name"

You can share all file formats with SENDFILE and RECVFILE, including variables (as long as you make the variable equal to MEM$, and save by typing SAVE "MEM:variable").
 * RECVFILE "resource:file_name"

Output
After you type in one of those commands and run, a dialogue box will come up on the bottom screen, similar to LOAD or SAVE. If you typed in SENDFILE, it will ask you if you want to send the file. Touch Yes, then tell your friend to type RECVFILE with the file you want to send to them. If you typed in RECVFILE, the dialogue box will ask you if you want to recieve a file. Touch yes, then select the user who you want to receive files from. If there are no users, tell your friend to type in SENDFILE. Both SENDFILE and RECVFILE will ask you to turn on Wireless Communications before you start.

Once the two devices are connected to each other, they will send and receive the file that you defined while typing the command (if it's avalible). It will save the file you recieved, then go to the next command in the program.

I hope this tutorial helped, and now you know how to send and recieve files through Petit Computer. Check out my program Petit TEXT (texting app) for a good example.