parsing string from hserin


Results 1 to 10 of 10

Threaded View

  1. #10
    Join Date
    Mar 2009
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Luckyborg View Post
    Good job

    Why don't you post your easy solution for anyone else who has similar problems or just to help encourage anyone else who reads this thread and sees how you were able to solve your own problem?

    David
    ws:
    HSEROUT["AT+CMGL",13,10]' filter za query
    LCDOUT $FE,1,"wait sms."

    HSERIN 5000,ws,[WAIT("REC UNREAD"),skip 27,str TIME\6,skip 8,STR PORUKA\5\13]

    pause 2000
    I=0

    gr[1]="U"
    gr[2]="G"

    istaporuka=1
    FOR I=0 to 1
    if gr[i+1]<>poruka[i+1] then istaporuka=0

    next i

    if istaporuka=1 then gosub s1

    J=0

    gr[1]="I"
    gr[2]="G"

    istaporuka1=1
    FOR J=0 to 1
    if poruka[J+1]<>gr[J+1] then istaporuka1=0
    next J

    if istaporuka1=1 then gosub s2


    --
    www.mtskola.com
    Last edited by xxxxxx; - 2nd April 2009 at 19:17.

Similar Threads

  1. Hserin parsing string...again?
    By kevlar129bp in forum Serial
    Replies: 21
    Last Post: - 9th July 2012, 16:35
  2. HSERIN for variable length string
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th February 2010, 05:58
  3. Visual Basic 6 & Access 2000
    By Demon in forum Off Topic
    Replies: 33
    Last Post: - 7th September 2006, 04:39
  4. String Parsing
    By eoasap in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th February 2006, 17:20
  5. serial string parsing
    By billybobbins in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th September 2004, 21:34

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