menu selection


Results 1 to 7 of 7

Thread: menu selection

Threaded View

  1. #7
    Join Date
    Jun 2005
    Location
    Surrey, England
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Sorry to say but I have tested the menu selection on a simulator and if you change the pause to 50 it works fine (although I would have used a LOOKUP with BRANCHL), but leaving that aside, I suspect you have been naughty with your syntax - you define a word and then treat it like an array. A simple little test of:
    dta = 513
    dta1 = 514
    extra1 = 515
    extra2 =516

    LCDOUT dec dta(0), " ", dec dta(1), " ", dec DTA(2), " ", dec dta(3), " "

    gives this result:
    513 514 515 516
    indicating that
    dta(0) = dta
    dta(1) = the next defined variable etc
    quite unpredicable results - you must define an array and reference it with "square brackets" or better still with the STR expression. Eg:

    Buffer var byte[16]
    HSERIN 1000, tsync, [str Buffer\5]

    Peter
    Last edited by FinchPJ; - 16th June 2010 at 13:10. Reason: spelling correction

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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