This shows you the differences between two versions of the page.
es:confirm [2016/01/01 22:42] |
es:confirm [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Confirm (Función) ===== | ||
+ | |||
+ | ==== Formato ==== | ||
+ | |||
+ | **confirm** ( // | ||
+ | **confirm** ( // | ||
+ | |||
+ | devuelve un valor booleano | ||
+ | | ||
+ | |||
+ | ==== Descripción ==== | ||
+ | |||
+ | Esta función visualiza una ventana de mensaje con botones Yes(si) y No(no). Si el usuario pulsa Yes se devolverá true (verdadero) y false (false) si se pulsa No \\ | ||
+ | This function displays a message box with " | ||
+ | |||
+ | ==== Ejemplo ==== | ||
+ | |||
+ | < | ||
+ | if ans then | ||
+ | print " | ||
+ | else | ||
+ | print " | ||
+ | end | ||
+ | end if</ | ||
+ | presentará\\ | ||
+ | {{: | ||
+ | |||
+ | ==== See Also ==== | ||
+ | {{page> | ||
+ | |||
+ | ==== Historia ==== | ||
+ | |0.9.9.42|Nueva Version| | ||