SELECT()

From Liberty BASIC Family
Jump to navigation Jump to search
Not supported in Just BASIC Not supported in Liberty BASIC Not supported in Liberty BASIC 5 Supported in Run BASIC

Description

Select an item from a list-box

Syntax

  1. #handle SELECT()

Hints

This function is supported by the following objects

Example

dim a$(10)
a$(1)="One"
a$(2)="Two"
a$(3)="Three"
selected$=""

listbox #lb,a$(),10
print

#lb select(a$(2))
selected$=#lb selection$()
print
print "I selected ";selected$
end

Useful Procedures

' Place a useful function or sub using this keyword here