Create a gist now

Instantly share code, notes, and snippets.

【MaxScript】真偽値の反転サンプル
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