|
In addition to importing and exporting a program, as described under "Programming", there more ways to get data in and out of RPN-34 CE
Copy and Paste display
In RUN Mode:
- Long-press display until menu appears.
- Copy copies the display value to the pasteboard.
- Cut sets the display to zero after copying.
- Paste puts the value on the pasteboard into stack register X.
In PRGM Mode:
- Long-press display until menu appears.
- Copy copies the current step to the pasteboard.
- Cut removes the step after copying.
- Paste inserts the step on the pasteboard after the selected step.
You may even paste a multi-line program snippet copied by the Share action "Copy" (see below).
If the data on the pasteboard contains an RPN-34 program file in XML format ("*.rpn34"), pasting replaces the entire
program, including title, description, modification date, and – if available – register values.
If the data on the pasteboard represents program steps in text format – for example, after using the command PCut
– pasting may take place anywhere in the program.
Title, description, and modification date remain unchanged. This feature makes
it easy to reuse program snippets.
Using the Share button
A number of sharing options are available. Some involve only the program code (text or XML), some only the metadata (title,
description), some all parts.
- Tap the Share button in the top-right corner.
- Select the desired action in the dialog box.
- AirDrop:
If AirDrop is enabled, you can easily send a program to another iOS device running RPN-34.
Once sent, RPN-34 on the receiving device will automatically open in PRGM mode. Long-press the display and paste.
- Mail:
Prepares an e-mail containing metadata and program in both text and XML format.
Both program formats may be pasted into the display in Program Mode (as described above.)
If you select the entire mail text for copying, RPN-34 will extract the XML version and replace the current program on pasting, metadata included.
An .rpn34 program received as attachment to an e-mail appears as a small icon.
Tap and hold the icon. You are then offered the option to copy the program to RPN-34.
- Notes:
Sends metadata and program in text format to the Notes app.
- Save PDF to iBooks:
Saves metadata and program in text format as PDF in the iBooks app.
- Message:
Sends metadata (title and description) to the Message app.
- Facebook:
Sends metadata (title and description) to the Facebook app.
- Twitter:
Sends metadata (title and description, up to 160 characters) to the Twitter app.
- Copy:
Copies the entire program in text format to the pasteboard.
Two versions are copied:
– Simple listing format
– XML format
When pasting to the display in PRGM mode, the XML format takes precedence.
The program will be pasted in its original position, along with metadata and
optional register values.
If the XML has been removed from the copied text, program lines are inserted
after the current step. Metadata and registers remain unaffected.
- Print:
Sends metadata and program in text format to an AirPrint-capable printer.
- Save to Dropbox:
Sends metadata and program in both text and XML format to the Dropbox app
from where you can upload the file to your Dropbox account.
- More:
Other apps, if enabled, will receive metadata and program in text format.
|
|
|
|
Cut/Copy/Paste display value |
|
|
|
|
|
|
|
The display value (stack register X) may be put onto or read from the iPhone's pasteboard: |
|
|
|
|
|
|
|
|
|
|
|
The current step may be copied or cut (removed): |
|
|
|
|
|
|
|
|
|
|
|
Sharing program and metadata |
|
|
|
|
|
|
|
Tap the Share button (top-right) to access various services like Copy, Print, Mail, Dropbox: |
|
|
|
Using Dropbox
If you have saved programs to your Dropbox account (make sure they have the extension ".rpn34"), open the Dropbox app on your iPhone.
Select the desired program and tap the Link button. Tap "Open In...", then "Copy to RPN-34 CE":
RPN-34 CE opens in program mode. Long-press the display and paste.
Any previous program will be replaced.
If the program was saved with registers, their values will be imported as well.
|
|