-
Notifications
You must be signed in to change notification settings - Fork 91
write to robot
JamesNewton edited this page Apr 13, 2018
·
7 revisions
In DDE, robot.js, the Dexter.write_to_robot function writes file data to the Dexter filesystem via the capital 'W' oplet. The code currently starts at: https://github.com/cfry/dde/blob/master/robot.js#L1479
Subcommands:
- f: File name. e.g.
make_ins("W", "f", 0, file_name) - s: Start file data.
make_ins("W", "s", max_content_chars, a_string.substring(next_start_index, max_content_chars)) - m: Middle file data.
make_ins("W", "m", max_content_chars, a_string.substring(next_start_index, next_start_index + max_content_chars)) - e: End File data.
make_ins("W", "e", chars_left, a_string.substring(next_start_index, a_string.length))
To search the Wiki, use the main search box in the black bar at the top, then select WiKi to filter the results or go to https://github.com/HaddingtonDynamics/Dexter/search?type=Wikis&q= and then add your search terms to the end of the URL.
To report errors, or request additional data, please chat with us on discord and/or raise a new issue