short cut to ... [main] [news] [forum] [download] [Hall of Fame] [game] [cg] [link]

         SDKRUN.REX 



ơݣ£ӣɣãǣԣͣţΣգ֣Τ褦ʥɡ˥塼
μ¸ǽˤץ㡼ǤΤޤޥѥǤޤ

ץץϿޤ

INPUTʸˤϤֹΥɥ¹Ԥ륵ץ
 SAMPLE1.BAS
 SAMPLE1.EXP

硼ȥåȥǻꤷɥ¹Ԥ˥塼Υץ
 SAMPLE2.BAS
 SAMPLE2.EXP

ǣգɤˤԣͣţΣգ֣Τ褦ʥɥ˥塼Υץ
 SAMPLE3.BAS
 SAMPLE3.EXP
SAMPLE3¹Իɬפʥǡե(ȥǥ쥯ȥˤ)
 SAMPLE3.DAT(ްGET@A)

ˡ
 
 

  CLEAR ,,,,1024            '1024ʾ
  MOUSE 0                   'ޥƤ
  OFFSET&=0                 '¾REXեȤζ¸˻
  LOADM "SDKRUN.REX",OFFSET&
  SDKRUN&=OFFSET&
  GETSDKNUM&=OFFSET&+&H30
  GETSDKNAME&=OFFSET&+&H10
 
 󥹥ȡγǧɥϿμ

  RESULT&=CALLM(GETSDKNUM&)

 []

  RESULT&=˥塼ɥϿ
  ɥǽԲǽξο
 
 硼ȥåȥɥ̾μ

  SDKNAME$=SPACE$(32)       'ɥ̾ΰͽݤ롣
  SDKEXECNUM&=1             'ɥֹ(˥塼򣰤Ȥƿ)
  RESULT$=CHR$(CALLM(GETSDKNUM&,SDKEXECNUM&,VARPTR(SDKNAME$))

 []

  RESULT$=硼ȥåȥΥ饯(Сʸ)
  SDKNAME$=ɥ̾
 
 ꤷֹΥɥ¹

  SDKEXECNUM&=1             'ɥֹ(˥塼򣰤Ȥƿ)
  RESULT&=CALLM(SDKRUN&,SDKEXECNUM&)

 []

  RESULT&=
  ̤Ͽ -32
  ɥջ -1

ѡžܡա¤ˤĤ

  ʲξ˽ͳ˻ѡѡդǤޤ
    Ԥܥץ»̳ʤΤȤ


-----------------------------------------------------------------------
Mamiya          E-mail mamiya@www.proc.org.tohoku.ac.jp
HOMEPAGE(ƬǾ񹩾) http://www.proc.org.tohoku.ac.jp/~naonori/befis/