WideStudio Logo
WideStudio
Programming Guide
WideStudio Index
Table of contents


샘플1 (Hello World)

여기서는 맨 먼저 실행하여야할 프로젝트의 작성, 응용프로그램 윈도우 의 작성, 이벤트 프로시저의 작성을 합니다. 윈도우에 표시 되는 단추를 누르며는 hello 라 표시되는 초보적인 샘플입니다.

샘플의 소스코드는 ws/samples/Ruby/hello/newproject.prj 입니다. 애플리케이션 빌더로 적재하고 컴파일해 보아주세요.



[응용프로그램 윈도우의 모습]

#----------------------------------------------------------
#Function for the event procedure
#----------------------------------------------------------
def btn(object)
  object.setProperty("labelString","hello")
end



[응용프로그램 실행의 모습]


Document Release 3.70 for WideStudio ver 3.70, May 2004


WideStudio documents index | Table of contents

Copyright(C) WideStudio Development Team, 1999-2004 Last modified: May 25, 2004