I would use novarinstrings ON, not OFF.


and this looks like a typo... "$$#$TBN" ???

Code:

;Test Sample partial code for KixForm - trouble passing data to/from variables - Out of sync !
setoption("NoVarInStrings","ON")
setoption("WrapAtEOL","on")
debug on

? "Test"

$TBN = $VARIABLE1
$TX1 = "1st-Text"
; Partial Form Code

$_ = execute("$TBN = " + $PForm.TextBox())
$_ = execute("$TBN.MaxLength = 10")
$_ = execute("$TBN.Text = " $TX1)
? "#1=" $tbn.Text
$_ = execute("$TBN.Text = '2nd-Text'")
? "#2=" $TBN.Text

;other code
$VARIABLE1.Text = "3rd-text"
$_ = execute("$txt = " + $TBN.TEXT)

? "#3=" $txt
? "#4=" $VARIABLE1.TEXT
$A = len($txt)
? $A



Edited by Bryce (2005-08-23 04:53 PM)