txt文本如何改html类型,编辑html格式文本可改成txt格式(可以替换或更换某文本)新手...
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
新的名字
生活助手
If Clock.Hour < 12 Then
TextWindow.WriteLine("早上好,测试者")
ElseIf Clock.Hour < 14 Then
TextWindow.WriteLine("中午好,测试者")
ElseIf Clock.Hour < 17 Then
TextWindow.WriteLine("下午好,测试者")
ElseIf Clock.Hour < 20 Then
TextWindow.WriteLine("晚好,测试者")
EndIf
TextWindow.WriteLine("学习还是玩")
asg=TextWindow.Read()
If asg="学习" then
ElseIf asg="玩" then
sheng()
EndIf
TextWindow.WriteLine("答题还是编答案")
shui=TextWindow.Read()
Sub bian
ts="1.html"
ys="2.html"
us="3.html"
TextWindow.WriteLine("请问你要更新文本吗(是/否)注本程序是无限制")
tsg=TextWindow.Read()
i=1
l=Clock.Date
nian=Clock.Year
tian=Clock.Day
TextWindow.WriteLine("今天是+"+Clock.Date)
If tsg="是" Then
While i>0
TextWindow.BackgroundColor="green"
TextWindow.ForegroundColor="red"
TextWindow.WriteLine("打请出你要的信息(1)")
r=TextWindow.Read()
sr=File.ReadContents(ts)
File.InsertLine(sr,i, r)
TextWindow.WriteLine("打请出你要的信息(2)")
e=TextWindow.Read()
yr=File.ReadContents(ys)
File.InsertLine(yr,i, e)
TextWindow.WriteLine("打请出你要的信息(3)")
s=TextWindow.Read()
ysr=File.ReadContents(us)
File.InsertLine(ysr,i,s)
i=i+1
TextWindow.WriteLine("文件目录1")
gs=TextWindow.Read()
File.WriteContents(gs,ts)
TextWindow.WriteLine("文件目录2")
hs=TextWindow.Read()
File.WriteContents(hs,ys)
TextWindow.WriteLine("文件目录3")
ks=TextWindow.Read()
File.WriteContents(ks,us)
EndWhile
While i>0
TextWindow.BackgroundColor="green"
TextWindow.ForegroundColor="red"
TextWindow.WriteLine("打请出你要的信息(1)")
r=TextWindow.Read()
File.InsertLine(ts,i, r)
TextWindow.WriteLine("打请出你要的信息(2)")
e=TextWindow.Read()
File.InsertLine(ys,i, e)
TextWindow.WriteLine("打请出你要的信息(3)")
s=TextWindow.Read()
File.InsertLine(us,i,s)
i=i+1
TextWindow.Clear()
EndWhile
EndIf
EndSub
Sub xue
TextWindow.Write("你要答几次题")
iu=TextWindow.Read()
While i>0
no=Math.GetRandomNumber(100)
b=File.ReadLine(ts,no)
j=File.ReadLine(ys,no)
si=File.ReadLine(us,no)
TextWindow.Write("b")
sui=TextWindow.Read()
If sui=j Then
TextWindow.Write("答案"+j)
TextWindow.Write("因为"+si)
Else
TextWindow.Write("答案"+j)
TextWindow.Write("因为"+si)
EndIf
iu=iu-1
EndWhile
TextWindow.WriteLine("要玩一把游戏吗")
ags=TextWindow.Read()
If ags="要" Then
TextWindow.WriteLine("客官玩几次")
ste=TextWindow.Read()
While ste>0
h=Math.GetRandomNumber(6)
c=Math.GetRandomNumber(6)
TextWindow.WriteLine("1号玩家"+h)
TextWindow.WriteLine("2号玩家"+c)
If h>c Then
TextWindow.WriteLine("1号玩家获胜")
ElseIf h=c then
TextWindow.WriteLine("平局")
Else
TextWindow.WriteLine("2号玩家获胜")
EndIf
ste=ste-1
EndWhile
Else
EndIf
EndSub
If shui="答题" Then
xue()
Else
bian()
EndIf
Sub sheng
TextWindow.WriteLine("玩什么(现在只有抛筛子)")
q=TextWindow.Read()
If q="筛抛子" Then
TextWindow.WriteLine("客官玩几次")
ste=TextWindow.Read()
While ste>0
h=Math.GetRandomNumber(6)
c=Math.GetRandomNumber(6)
TextWindow.WriteLine("1号玩家"+h)
TextWindow.WriteLine("2号玩家"+c)
If h>c Then
TextWindow.WriteLine("1号玩家获胜")
ElseIf h=c then
TextWindow.WriteLine("平局")
Else
TextWindow.WriteLine("2号玩家获胜")
EndIf
ste=ste-1
EndWhile
else
EndIf
EndSub
txt文本如何改html类型,编辑html格式文本可改成txt格式(可以替换或更换某文本)新手...相关推荐
- txt文本改html没有用,编辑html格式文本可改成txt格式(可以替换或更换某文本)新手...
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 新的名字 生活助手 If Clock.Hour < 12 Then TextWindow.WriteLine("早上好,测试者" ...
- 文本怎么换成html,编辑html格式文本可改成txt格式(可以替换或更换某文本)新手...
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 新的名字 生活助手 If Clock.Hour < 12 Then TextWindow.WriteLine("早上好,测试者" ...
- html文本改,编辑html格式文本可改成txt格式(可以替换或更换某文本)新手
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 新的名字 生活助手 If Clock.Hour < 12 Then TextWindow.WriteLine("早上好,测试者" ...
- linux怎么把dos改成unix_dos2unix命令 – 将DOS格式的文本文件转换成UNIX格式
dos2unix命令用来将DOS格式的文本文件转换成UNIX格式的(DOS/MAC to UNIX text file format converter).DOS下的文本文件是以\r\n作为断行标志的 ...
- pdf电子书转换成txt文档
pdf电子书转换成txt文档 我们在收到用户发来的PDF格式的文件合同时,为了能够将里面的内容重新进行编辑,很多时候需要将PDF格式的电子书转换成TXT,有什么好的方法可以实现PDF转TXT. 在没有 ...
- pdf转换成txt转换器的最快方法
微友圈里很多朋友都问过PDF转换为TXT文件的问题,在此小编特的整理了一个极品的PDF转TXT的软件,大家觉得好用不妨尝试看看. 迅捷PDF转换成TXT转换器(最新V5.0版本) pdf转换成txt转 ...
- 关于PDF转换成TXT转换器的运用
从事文秘工作的同事,经常需要处理各种不同类型的PDF格式的电子书,为了便于编辑和修改,很多时候要将PDF文档转为TXT文件格式,但是,自己尝试过不同的PDF转成TXT转换软件,大部分的转换软件本身对P ...
- jfif怎么改成jpg格式
jfif怎么改成jpg格式?有很多小伙伴常常抱怨说自己用浏览器浏览网页保存的图片是jfif格式的,jfif比起jpg格式的图片,在使用时往往会受到限制,使得很多小伙伴不得不放弃使用jfif格式的图片, ...
- pdf怎么转换成txt?
pdf怎么转换成txt随着pdf格式文件使用频率的增加,人们会按照自己使用的需求把pdf转成自己需要的其他文件,比如把pdf转txt.尤其是我们下载到Pdf格式的电子书时,把它转成txt会更加方便.由 ...
最新文章
- Vue.js@2.6.10更新内置错误处机制,Fundebug同步支持相应错误监控
- UIT-SV3600i-D/Storage Manger RAID5以及IP-SAN(iscsi)配置
- NOIP模拟测试6「那一天我们许下约定(背包dp)·那一天她离我而去」
- 【差分隐私的指数机制该怎么理解?】差分隐私系统学习记录(三)
- 对比学习在NLP和多模态领域的应用
- 初探 Yii2 的测试模式 index-test.php
- javascript自动填写表单小技巧
- OpenCV图像处理--opencv摄像头播放视频
- 人工智能全球 2000 位最具影响力学者榜单
- layuiAdmin自定义模块
- linux shell脚本 cp,shell命令之cp
- libnet、libnids、libpcap轻松搭建Linux网络入侵检测系统
- linux 驱动笔记(一)
- Dubbo-04 20190317
- linux 中 read 的用法
- BUUCTF:[GKCTF2020]Sail a boat down the river
- Spine 骨骼动画查看器 Skeleton Viewer_官方文档中文版
- 10.525Ghz 微波雷达感应基础(二)--CW模式雷达
- 跨境电商取得成功的三个可行性战略
- Data Saver 小节
热门文章
- 【Elasticsearch】 es kibana 安全实战
- 【Elasticsearch】es 插入数据 性能优化 以及 影响插入的因素
- 【linux】linux Vim编辑器快捷键
- 【面试】面试文章积累
- 95-190-452-源码-window-Trigger-ContinuousEventTimeTrigger
- Spring :Spring Aop 创建代理
- RocketMQ项目rocketmq-externals中rocketmq-console启动报错
- 云计算实战系列十一(软件包管理)
- 从实战到原理,线程池的各类使用场景整合
- 手动实现一个迷你版的AOP(实战增强版)