Last active
December 20, 2016 14:53
-
-
Save deathponta/48910dbe8e215afea9dce9c957a81c41 to your computer and use it in GitHub Desktop.
【MaxScript】真偽値の反転サンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try( DestroyDialog rol_test )catch() | |
global b = true | |
rollout rol_test "SwitchTest" width:120 height:32( | |
button btn1 "押して" pos:[8,8] width:104 height:16 | |
on btn1 pressed do( | |
b = not b | |
btn1.text = b as string | |
) | |
) | |
CreateDialog rol_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment