Results 1 to 3 of 3

Thread: array question multiple assignment

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    51
    Posts
    934
    Rep Power
    109

    array question multiple assignment

    it's possible to convert this array example from oxygen module to thinbasic?

      
    Uses "console"      'multiple assignment      
    Dim a(10) As Long
     'Dim a(10) As Long => (2,4,6,8,10,12,42,99) ' that's possible to convert to thinbasic?     
    Dim s As String   
    s = a(2) + a(5) 'result: 14   
    Print "answer is: " + s + a(6) 'result: 14 12   
    WaitKey
    
    thanks for help in advance, good week-end, frank
    Attached Files Attached Files
    Last edited by Lionheart008; 17-03-2012 at 10:20.
    you can't always get what you want, but if you try sometimes you might find, you get what you need

Similar Threads

  1. Array question
    By TheOne in forum Tips and Tricks
    Replies: 5
    Last Post: 10-05-2013, 12:29
  2. Array element assignment
    By ErosOlmi in forum thinBasic vaporware
    Replies: 4
    Last Post: 19-06-2007, 10:21

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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