Skip to content
Snippets Groups Projects
Commit 8404da74 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

uifc.list() returns a number, not a string

Stop lying. Programming is hard enough already.
parent b5981954
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1251 passed
......@@ -1143,7 +1143,7 @@ static jsSyncMethodSpec js_functions[] = {
,JSDOCSTR("prompt for a string input")
,314
},
{"list", js_uifc_list, 0, JSTYPE_STRING, JSDOCSTR("[number mode,] string title, array options [,uifc.list.CTX object]")
{"list", js_uifc_list, 0, JSTYPE_NUMBER, JSDOCSTR("[number mode,] string title, array options [,uifc.list.CTX object]")
,JSDOCSTR("select from a list of options.<br>"
"The context object can be created using new uifc.list.CTX() and if the same object is passed, allows WIN_SAV to work correctly.<br>"
"The context object has the following properties:<br>cur, bar, top, left, width"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment