hexadecimal


Closed Thread
Results 1 to 11 of 11

Thread: hexadecimal

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by thibaud
    I tried in the code to put

    Code:
    b = $AE
    and it gives a compile error ????
    Exactly what error does it give you? That will help a lot in determining the actually error. It certianly ins't just because you used:

    Code:
    b = $AE
    Instead of
    Code:
    b = 174
    or
    Code:
    b = %10101110
    Steve

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    may i guess that b wasn't previoulsy defined as a byte or word and it returned a Syntax error?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    thibaud's Avatar
    thibaud Guest


    Did you find this post helpful? Yes | No

    Default hex

    b = $7E 'line 15

    debug $7E


    I get a ERROR Line 15: Syntax error. (API.pbp)

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    B Var Byte

    B = $7e

    Debug Hex2 B
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    thibaud's Avatar
    thibaud Guest


    Did you find this post helpful? Yes | No

    Wink hex

    thanks it works!

    where can I find more information about the Hex2

    I didn't find it in the www.melabs.com (pro basic documentation)

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Look in your PBP manual under DEBUG or SEROUT2 for data modifiers each
    command supports.

    They don't go into great details on using them, but they're there.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Replies: 6
    Last Post: - 19th April 2007, 05:06

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