Home / Topic / variable

variable

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Fionnuala
    Participant
    #85426

    Hi Yamamoto

    I am having a problem with variables. I am using an action to add one variable everytime an item is dragged. It doesn’t seem to be working however. Just wondering if variables are working as expected in Kwik 4?

    Many thanks for your help

    Kind regards

    fionnuala

    Yamamoto
    Keymaster
    #85427

    There is a change to access a variable in Kwik4. If you want to increment it by one. the expression is “UI.YOUR_VARIABLE + 1”

    variable has a prefix UI for local, and _K for gloabl

    http://www.kwiksher.com/doc/tutorials/kwik/programming/migrating_from_kwik3.html

    Kwik3
    YOUR_VARIABLE=1

    Kwik4
    UI.YOUR_VARIABLE = 1

    Fionnuala
    Participant
    #85429

    Thank Yamamoto, that’s great.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.