Array[750]


Closed Thread
Results 1 to 4 of 4

Thread: Array[750]

  1. #1

    Default Array[750]

    HI,
    The manual says long arrays for 18F's are ok,
    but my index does not seem to go past 255.

    Code:
     
    RCVdata var byte [750]
    InDX var WORD     'index variable
     
    for ax=1 to indx      'SEND ALL IN MEM BY INDEX
    DAT = RCVDATA[AX]
      hserout[DAT]
    next ax 
     HSEROUT [", INDEX COUNT=" , DEC INDX ,10,13]
    do I have to make seperate arrays if > 255 in PBP.
    ------------------------------------------------------------

    Name:  send.JPG
Views: 311
Size:  38.4 KBhyperterm
    -------------------------------------------------------------
    thanks
    don

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Array[750]

    Don,

    What size is the ax variable?
    It needs to be a WORD too.
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Array[750]

    Thanks Mr T, certainly works fine now.
    Its funny how you look at this stuff some times and miss the obvious.
    Allow me to give you another compliment for DT_INT's. Managing 1 int isn't too bad, but using 2 or more ints start getting difficult.
    Lastly, when I was on your INTs web site, I noticed the neat LCD looking timer you made a few years ago. Learning HTML I tried to paste the script into html doc, but it would'nt run like some pasted scripts run. Not infringing on your work, only for learning purposes, can scrips be locked somehow ?

    thanks,
    don

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Array[750]

    I don't know any way to lock javascript.
    But if you make it complicated enough, most people can't use it.

    This might help...
    I've copied the files to a different server ... there's only 3 files.
    http://dt-ints.com/v-lcd/

    Look at the V-LCD_Disp.htm file first.
    It shows how to put multiple LCD's on the same page.
    DT

Members who have read this thread : 1

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