整数判断
来源:互联网 发布:淘宝评价晒不了图片 编辑:程序博客网 时间:2024/05/16 10:00
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var
i : Integer;
begin
i := StrToInt(Edit1.Text);
case i of
0 : Caption := '是0';
1..5 : Caption := '小于等于5';
6..9 : Caption := '大于5小于10';
10..99 : Caption := '大于等于10小于100';
else
Caption := '大于等于100';
end;
end;
end.
- 判断整数
- 整数判断
- 判断整数
- js判断整数
- js判断整数
- 判断是否为整数
- js判断整数
- 整数相加溢出判断
- 判断一个整数奇偶性
- php整数判断
- js判断是不是整数
- 判断整数溢出
- 判断一个整数奇偶性
- 判断整数、判断邮箱、判断手机号码、判断邮政编码、判断中文
- 整数溢出,如何判断整数溢出
- 整数溢出,如何判断整数溢出
- 整数溢出,如何判断整数溢出
- 整数溢出,如何判断整数溢出
- 怎样在对话框中得到Document指针
- TTY
- 让Oracle DBA保持旺盛"生命力"的几个习惯
- 3D中投影矩阵公式的推导
- reactos操作系统实现(115)
- 整数判断
- JAVA学习的笔记①--Java平台的安装与设置
- 学习正则表达式
- MPLS Step1(RFC 3031: Mulitprotocol Label Switching Architecture)
- GridView表格动态生成列
- 最简单最安全方法知道你是不是Ta的好友
- 做人做事是一门艺术,更是一门学问
- C#连接Access数据时总报找不到dbo.mdb的问题
- 做了一个cms系统 在发布内容时候插入的代码被屏蔽了