while wend problem


Results 1 to 10 of 10

Threaded View

  1. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Just for info

    WHILE PORTA.1 = 0 PAUSE 1 'WHY DOES THIS NOT WORK?
    WEND
    Hi,

    You can also use a : to use multiple statements on the same line.
    Thus your code should be
    Code:
    WHILE PORTA.1 = 0 :PAUSE 1 'THIS WORKs !!!
    WEND
    Last edited by sougata; - 18th March 2007 at 05:10.
    Regards

    Sougata

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. HSEROUT and Commas, What? Help Me Understand
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th July 2009, 19:12
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. Problem with WHILE - WEND
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 31st May 2006, 02:05
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59

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