User Tag List

Results 1 to 2 of 2

Thread: Getting a line from list object

  1. #1
    Clicker

    Fusion 2.5Android Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Getting a line from list object

    I'm trying to set something based on a specific line in the list object.

    So I'm trying "get line" and it gives me:

    Code:
    List Line Text$( "List", >Line number< )
    So naturally I put in 0 or 1 etc as the line number and it tells me "enter a numeric expression"

    Code:
    List Line Text$( "List", 1 )
    What am I doing wrong? I'm sure it's a simple thing but it's not exactly clear when I put in a number and it tells me I need to put in a number.

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    654
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Lines in the list object are by default strings. You can't enter strings in certain fields that accept values only. To fix, put Val() around the code and it will work. Val(List Line Text$( "List", 1 ))

Similar Threads

  1. Replies: 16
    Last Post: 10th September 2015, 02:09 AM
  2. Customizable line in a list object
    By Ls2 in forum Fusion 2.5
    Replies: 2
    Last Post: 12th August 2015, 10:47 PM
  3. List Object does NOT default to Line 0
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 8th July 2012, 02:42 PM
  4. Change List Object Line Color - One Line Only?
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st December 2008, 06:58 PM
  5. List Object can't tell if any line is selected?!
    By jayklik in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 3rd September 2006, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •