5 Replies Latest reply on Oct 28, 2009 12:29 PM by Doc Raman

    Operator expected -- pHealthInfo.?Text = "Health =" & pHealth

    greek_dude247

      I made this text in Lingo and whenever I try to change what it says I get this error:

       

      Script error: Operator expected

      pHealthInfo.?Text = "Health =" & pHealth

       

      In my script I did this:

       

      pHealth = 10

       

      pHealthFlag = false

       

      pHealthInfo = member("StockHealth") 
        pHealthInfo.Text = "Health =" & pHealth

       

      if pHealthFlag = true then

      pHealth = pHealth + 1
            put pHealth
            pHealthInfo.Text = "Health =" & pHealth

      end if

       

       

      Get what I'm sayin'?