Sign in to follow this  
Followers 0
Ben Hovell

List View Treating Variables As Text

2 posts in this topic

I have the written the langauge below, Dealer is however a variale, playing is an array; this program treats them both as text. PLease advise how to get it to show a variable/array result

; LIST VIEW

$listView = GuiCtrlCreateListView("Position|Dealer|Playing", 0, 0, 400, 400)

GuiCtrlCreateListViewItem("1|$Dealer|$Playing[1]", $listView)

GuiCtrlCreateListViewItem("2|$Dealer|$Playing[2]", ", $listView)

Share this post


Link to post
Share on other sites



sure thing:

listView = GuiCtrlCreateListView("Position|Dealer|Playing", 0, 0, 400, 400)
GuiCtrlCreateListViewItem("1|"&$Dealer&"|"&$Playing[1], $listView)
GuiCtrlCreateListViewItem("2|"&$Dealer&"|"&$Playing[2],  $listView)

"$variable" is not equal to $variable:

$variable = 100
$var1 = $variable
$var2 = "$variable"
MsgBox(0, "", $var1)
MsgBox(0, "", $var2)

#)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0