This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
SoruCoder's profile picture

Autocomplete for read()

Started by SoruCoder, 26 February 2018 - 07:29 PM
SoruCoder #1
Posted 26 February 2018 - 08:29 PM
How do I code a function for an autocomplete function for read? For context, I am making an error handler generator for functions in source code, which asks the user for the type of each argument in every function (so the user types "n", and up comes "number").
KingofGamesYami #2
Posted 27 February 2018 - 04:29 AM
I recommend taking a look at the existing completion functions which ComputerCraft uses internally to provide the autocompletion you see in the shell.
Edited on 27 February 2018 - 03:30 AM