while endwhile

来源:百度知道 编辑:UC知道 时间:2024/06/24 15:46:03
循环接受并输出用户姓名,直到拥护输出"END"才跳出循环.
编写伪代码和流程图
谁帮帮我~~!!!

格式:
While空格[表达式条件判断]
......[脚本内容]
EndWhile
解释:表达式条件判断循环一段脚本内容
QUOTE:
[General]
Description=循环的语句
BeginHotkey=121
BeginHotkeyMod=0
RunOnce=1
Enable=1
[Repeat]
Type=0
Number=1
[CallBack]
OnSetup=
[Comment]
Content=
[Script]
//定义变量名
Dim a,b
//填1时,为条件一直满足(无限循环)
While 1
//内容
VBS b=a
//加个时间不然会死机
Delay 1000
EndWhile

While…EndWhile(表达式条件循环)

命令说明:

[color=Green][quote]
格式:
While空格[表达式条件判断]
......[脚本内容]
EndWhile

解释:表达式条件判断循环一段脚本内容
[/quote][/color]

命令例子1:

[QUOTE]
[General]
Description=循环的语句
BeginHotkey=121
BeginHotkeyMod=0
RunOnce=1
Enable=1
[Repeat]
Type=0
Number=1
[CallBack]
OnSetup=
[Comment]
Content=

[Script]
[color=Green]//定义变量名[/color]
Dim a,b
[color=Green]//变量名