* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.LSET Statement Programming Example.

  QuickSCREEN      Details     Example      Contents      Index
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
LSET Statement Programming Example
The following statement would convert the single-precision numeric variable
AMT to a 4-byte string and stores that string in A$,left-justified:
 
LSET A$ = MKS$(AMT)
 
In contrast, the following statement would convert the integer numeric
variable COUNT% to a 2-byte string and stores that string in D$,
right-justified:
 
RSET D$ = MKI$(COUNT%)
 
  Note: To see the LSET statement used in a full example program, see
        the CVS function programming example
 
* * ** * * * *