getkword


(getkword  [ prompt ] )

This function pauses for user input to specify a keyword string, as specified by preceding (initget) call; returns the full keyword string or NIL

Arguments

prompt  (optional) a prompt string to be shown; if omitted, no prompt string is shown

Return

full keyword string, or NIL, if input did not match any keyword

Example

(initget 1 "All Nothing")
(getkword "\n* All or Nothing [All Nothing} : ")

Remarks

if no keyword(s) were established by prior (initget) call, empty input by enter/return will return NIL;
see (initget) function



©  Bricsys NV. All rights reserved.