←  Wiki Discussion

ComputerCraft | Programmable Computers for Minecraft


The third argument of read() looks undocum...

Admicos's Photo Admicos 24 Aug 2016

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 by Admicos, 24 August 2016 - 04:23 PM.

Lupus590's Photo Lupus590 24 Aug 2016

I'll try to fix that now.

edit: done
Edited by Lupus590, 24 August 2016 - 05:26 PM.