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

The third argument of read() looks undocumented

Started by Admicos, 24 August 2016 - 03:23 PM
Admicos #1
Posted 24 August 2016 - 05:23 PM
The third argument of read() (_fnComplete) looks undocumented at the wiki page

Basically, it allows you to set a completion function to use with the read function and is used at the cc shell, line 342.

This would have saved me a lot of time trying to re-create the read function to use completions.
Edited on 24 August 2016 - 03:23 PM
Lupus590 #2
Posted 24 August 2016 - 06:22 PM
I'll try to fix that now.

edit: done
Edited on 24 August 2016 - 04:26 PM