Converting CLEAR in Proton basic to picbasic pro


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2013
    Posts
    4

    Default Converting CLEAR in Proton basic to picbasic pro

    I am converting a program in Proton basic to picbasic pro 3.
    Proton uses CLEAR to reset a variable but is there a command in picbasic pro 3 that does the same thing?
    I can't seem to find an equivalent in the manual.

    Thanks.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: Converting CLEAR in Proton basic to picbasic pro

    myVAR = 0 will set it 0 if that's what you mean.
    If you have an array you'll need to loop thru it and set each entity to 0.

    In PBP the command CLEAR will clear the complete RAM, just as it will in PROTON if CLEAR is used by itself.

    /Henrik.

  3. #3
    Join Date
    Sep 2013
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Converting CLEAR in Proton basic to picbasic pro

    Hi Henrik.
    Thanks for the reply and clearing that up.
    Nobby123

Similar Threads

  1. Moving from Basic Stamp and MIKROE basic to PicBasic PRO
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 40
    Last Post: - 6th March 2013, 05:27
  2. PicBasic Pro to Basic Stamp conversion?
    By Kirk Fraser in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2011, 06:49
  3. PICBasic Pro vs. Proton Dev System
    By hjsong in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th February 2007, 04:17
  4. PICBasic Pro vs Proton PICBasic
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd November 2006, 16:11
  5. converting assemble to pic basic pro
    By Jhdgkss in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 30th April 2006, 19:55

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