"prev by app" を出力。pApp := {preview: func() begin Print("prev by app"); end}; pDialog := {print: func() begin Print("print by dialog"); end}; pButton := {help: func() begin Print("help by button"); end}; app := {_proto: pApp}; dialog := {_proto: pDialog, _parent: app}; button := {_proto: pButton, _parent: dialog}; button:preview();
このページを編集 (1441 bytes)
以下の 1 ページから参照されています。 |
This page has been visited 3197 times.