quick_sliver007 Posted February 17, 2005 Posted February 17, 2005 For some reason I don't know, I always have trouble with getting the variable to work in a script after I declare it. Here is the script: ; LIST VIEW $maxlife = IniRead ( "character.ini", "character", "maxlife", "unknown" ) $listView = GuiCtrlCreateListView("Stats|Current|Max", 565, 10, 180, 80) GuiCtrlCreateListViewItem("Life|1|$maxlife, ", $listView) The trouble I have is with the variable $maxlife. For some reason in the list view it says $maxlife, not the value in the Ini. I don't know what to do. I tried it like ($maxlife), '$maxlife' and like "$maxlife" and it still doesn't work right. So how do I write it? If Anyone can help Then you have my thanks EndIF Else EndIF .
buzz44 Posted February 17, 2005 Posted February 17, 2005 (edited) try this GuiCtrlCreateListViewItem("Life|1|" & $maxlife, $listView) Edited February 17, 2005 by burrup qq
quick_sliver007 Posted February 17, 2005 Author Posted February 17, 2005 Thank you so much, that was one of the key parts of my script. Thank you again. .
buzz44 Posted February 17, 2005 Posted February 17, 2005 Thank you so much, that was one of the key parts of my script. Thank you again.<{POST_SNAPBACK}>anytime qq
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now