Jump to content

Simple windowed application: Difference between revisions

Line 2,045:
 
=={{header|LiveCode}}==
Comments and Description:
<lang LiveCode>
 
global count
The LiveCode script here meets the specification 100%,
but is not in common LiveCode style. Typically the
mouseUp command would be attached to the button
rather than to the 'card' (window). Nevertheless, the card
is in the object's message path so the button works well.
<lang LiveCode>global count
on openCard
put empty into count
Line 2,054 ⟶ 2,060:
add 1 to count
put count into field "clicks"
end mouseUp</lang>
</lang>
 
=={{header|Logo}}==
7,813

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.