?? 用戶管理程序.prg
字號(hào):
**用戶管理程序
set talk off
clear
use 用戶表
@ 10,15 say "1,--------查詢用戶"
@ 11,15 say "2.--------增加用戶"
@ 12,15 say "3.--------刪除用戶"
@ 13,15 say "4.--------修改用戶"
@ 14,15 say "5.--------返回上一目錄"
accept "請(qǐng)輸入選擇的菜單項(xiàng)(1,2,3,4或5)"to s
do case
case s="1"
accept "請(qǐng)輸入學(xué)生的姓名"to ming
list for username=ming
case s="2"
append
case s="3"
accept "請(qǐng)輸入要?jiǎng)h除的學(xué)生姓名" to ming
dele all for username=ming
accept "確實(shí)要?jiǎng)h除該學(xué)生的記錄嗎?(Y/N):" to yn
if yu="Y"
pack
endif
case s="4"
browse
case s="5"
do 程序1.prg
**調(diào)用 程序1.prg
otherwise
wait "請(qǐng)選擇輸入錯(cuò)誤,按任意鍵退出"
endcase
return
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -