这个函数在 Visual Foxpro 中有什么作用?

What does this function do in Visual Foxpro?

getcolor() 函数有什么作用?它 returns 对我来说是一些随机数。这个功能连颜色都变了

来自 (Visual Foxpro 9) 帮助文件:

Displays the Windows Color dialog box and returns the color number of the chosen color. GETCOLOR([nDefaultColorNumber])

Parameters nDefaultColorNumber

Specifies the color that is initially selected when the Color dialog box is displayed. If nDefaultColorNumber doesn't correspond to a color in the Color dialog box, the first color in the Color dialog box is selected. If you omit nDefaultColorNumber, black is selected.