하이퍼토크

위키백과, 우리 모두의 백과사전.

하이퍼토크
HyperTalk
패러다임절차적, 이벤트 구동
설계자댄 윙클러
개발자애플
발표일1987년 (1987)
영향을 받은 언어
자연어, 파스칼
영향을 준 언어
ActionScript, AppleScript, ECMAScript, JavaScript, Lingo, LiveCode, SenseTalk, SuperTalk

하이퍼토크(HyperTalk)는 1987년에 Dan Winkler가 개발한 높은 수준의 절차적 프로그래밍 언어이다. 빌 앳킨슨애플 하이퍼카드 하이퍼미디어 프로그램과 결합하는 데 사용된다.

예제[편집]

 on mouseUp
   put "100,100" into pos
   repeat with x = 1 to the number of card buttons
     set the location of card button x to pos
     add 15 to item 1 of pos
   end repeat
 end mouseUp
 on mouseDown
   put "Disk:Folder:MyFile" into filePath—no need to declare variables
   if there is a file filePath then
     open file filePath
     read from file filePath until return
     put it into cd fld "some field"
     close file filePath
     set the textStyle of character 1 to 10 of card field "some field" to bold
   end if
 end mouseDown
 function replaceStr pattern,newStr,inStr
   repeat while pattern is in inStr
     put offset(pattern,inStr) into pos
     put newStr into character pos to (pos +the length of pattern)-1 of inStr
   end repeat
   return inStr
 end replaceStr

같이 보기[편집]

외부 링크[편집]