Skip to content
Snippets Groups Projects
Commit 0259daf9 authored by rswindell's avatar rswindell
Browse files

Updated JSDOC descriptions with more clarity.

parent 045e4055
No related branches found
No related tags found
No related merge requests found
......@@ -1733,8 +1733,8 @@ static jsSyncMethodSpec js_console_functions[] = {
,JSDOCSTR("get a string based on template")
,310
},
{"ungetstr", js_ungetstr, 1, JSTYPE_VOID, JSDOCSTR("")
,JSDOCSTR("put a string in the keyboard buffer")
{"ungetstr", js_ungetstr, 1, JSTYPE_VOID, JSDOCSTR("keys")
,JSDOCSTR("put a data (e.g. a string of characters) in the keyboard input buffer")
,310
},
{"yesno", js_yesno, 1, JSTYPE_BOOLEAN, JSDOCSTR("question")
......
......@@ -2666,7 +2666,8 @@ static jsSyncMethodSpec js_file_functions[] = {
,317
},
{"write", js_write, 1, JSTYPE_BOOLEAN, JSDOCSTR("text [,length=<i>text_length</i>]")
,JSDOCSTR("write a string to the file (optionally unix-to-unix or base64 decoding in the process)")
,JSDOCSTR("write a string to the file (optionally unix-to-unix or base64 decoding in the process). "
"If the specified <i>length</i> is longer than the <i>text</i>, the remaining length will be written as NUL bytes.")
,310
},
{"writeln", js_writeln, 0, JSTYPE_BOOLEAN, JSDOCSTR("[text]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment