BTRON MicroScript Reference Manual

Table of Contents


Page xi:

I Reference Section

1

__Symbols and Operators

2

f

2

__- (binary operator)

22

g@h J"

3

__@

23



4

__‚@I

24

”

6

__ƒ <

25

G

7

__ƒƒ@<<

26

SET

8

__„@>

28

I

10

__„„@>>

29

O

11

__…@ƒ

31

` P

13

__†@„

32

/ €

15

__“

33

b

17

__•

34

bb

19

__••

36

+

20

__–@~

37

- (unary operator)

21

__
__Definitions and Declarations

38

VERSION

38

__SEGMENT

55

DEBUG

39

__PROLOGUE

56

DEFINE

40

__EPILOGUE

57

COMMENT

41

__ACTION

58

VARIABLE

42

__MACTION

60

LOCAL

44

__FUNC

61

TYPE SPECIFICATION

45

__END

62

:B

46

__EVENT NAMES

63

:C

47

__CLICK

64

:F

48

__DCLICK

65

:G

49

__MENU

66

:I

50

__KEY

67

:S

51

__PRESS

68

[ ] [:]

52

__QPRESS

69

SCRIPT

54

Page xii:

Display

70

APPEAR

70

__WIPE_V

93

DISAPPEAR

72

__TEXT

94

SCENE

73

__MESG

95

MOVE

75

__FORM CHARACTER
__STRINGS

96

EFFECT NAMES

77

__%

97

MOSAIC

80

__%%

98

SCRL_D

81

__%c

99

SCRL_L

82

__%d

100

SCRL_R

83

__%E

101

SCRL_U

84

__%e

102

STRP_H

85

__%f

103

STRP_V

86

__%G

104

WIPE_C

87

__%g

105

WIPE_D

88

__%s

106

WIPE_H

89

__%X

107

WIPE_L

90

__%x

108

WIPE_R

91

__UPDATE

109

WIPE_U

92

Control

110

SLEEP

110

__ENDCASE

124

WAIT

111

__REPEAT

125

IF`ELSEIF`ELSE`ENDIF

112

__ENDREPEAT

126

ELSEIF

114

__WHILE

127

ELSE

116

__ENDWHILE

128

ENDIF

117

__CALL

129

BREAK

118

__EXECUTE

130

CONTINUE

119

__SUSPEND

131

SWITCH`CASE
`DEFAULT`ENDCASE

121

__TERMINATE

132

CASE

122

__EXIT

133

DEFAULT

123

__FINISH

134

Input

135

INPUT

135

__BUTU

143

KINPUT

137

__KEYC

144

EVENT

139

__KEYD

145

BUTC

141

__KEYU

146

BUTD

142

__

Page xiii:

State Names

147

.H

147

__.TSTYL

159

.PID

148

__.TX

160

.S

149

__.V

161

.TBCOL

151

__.W

162

.TCGAP

153

__.X

163

.TFCOL

154

__.X0

164

.TL

156

__.Y

165

.TLGAP

157

__.Y0

166

.TSIZE

158

System Variables

167

$CNT

167

__$RAND

183

$DATE

168

__$RS

184

$DSKINS

169

__$RSCNT

185

$ERR

170

__$SCRH

186

$GV

171

__$SCRW

187

$KEY

172

__$SV

188

$KMODE

173

__$SYSTM

189

$KSTAT

174

__$TID

190

$MMASK

175

__$TIME

191

$MSEC

176

__$VERS

192

$PDB

177

__$WACT

193

$PDS

178

__$WDH

194

$PDX

179

__$WDW

195

$PDY

180

__$WDX

196

$PID

181

__$WDY

197

$PPID

182

Functions

198

acmp ()

198

__floor ()

214

acopy ()

200

__getgnm ()

215

acos ()

202

__log ()

217

asin ()

203

__log10 ()

218

asrch ()

204

__max ()

219

atan ()

206

__min ()

220

cos ()

207

__number ()

221

datetm ()

208

__pow ()

222

delgnm ()

210

__round ()

223

exp ()

212

__scmp ()

224

fabs ()

213

__sconv ()

226

Page xiv:

setgnm ()

228

__strnum ()

235

sin ()

230

__tan ()

237

slen ()

231

__tmdate ()

238

sqrt ()

232

__valid ()

240

srconv ()

233

Others

241

BEEP

241

__PWAIT

268

FULLWIND

242

__RSCNTL

270

COPYSEG

243

__RSGET

272

SETSEG

245

__RSGETC

273

DCLOSE

247

__RSGETN

274

DOPEN

248

__RSINIT

275

DREAD

250

__RSPUT

277

DWRITE

252

__RSPUTC

278

FCLOSE

254

__RSPUTN

279

FOPEN

255

__RSWAIT

280

FREAD

257

__VCLOSE

282

FWRITE

259

__VOPEN

284

LOG

261

__VWAIT

286

MRECV

262

__WMOVE

288

MSEND

264

__WSAVE

289

PROCESS

266

__WSIZE

290

II Samples Section

291

BEEP Keyboard

292

MIDI Keyboard

294

Dropping Simulation

296

Animation Switch

298

MIDI Playback

302

Serial Transmission

305

Appendix 1 List of Errors

307

Appendix 2 Cross Development Based on 1B and TiPO

311

Index

319


The above contents of BTRON MicroScript Reference Manual were translated and loaded onto this Web page with the permission of Personal Media Corporation.

Copyright (c) 1997 Personal Media Corporation

Copyright (c) 2009 Sakamura Laboratory, University Museum, University of Tokyo