Results 1 to 6 of 6

Thread: extracting hexadecimal data from string

Threaded View

  1. #1
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    65
    Posts
    40
    Rep Power
    5

    extracting hexadecimal data from string

    Hi

    Does a function as "val(string)" already exists for extracting number from hexadecimal string ?
    Or do I write it by myself ?

    hex_str = "&h100"
    numb = hexval( hex_str)
    if numb = 256 then printl "I am happy"
    
    Regards


    Dany
    Last edited by dco045; 30-01-2018 at 19:42.

Similar Threads

  1. The age of big data
    By Charles Pegge in forum Shout Box Area
    Replies: 0
    Last Post: 07-01-2014, 10:24
  2. String-in-String-Pointers?
    By ReneMiner in forum thinBasic General
    Replies: 9
    Last Post: 11-06-2013, 14:55
  3. Replies: 5
    Last Post: 13-12-2010, 00:19
  4. Hexadecimal
    By Charles Pegge in forum O2h Compiler
    Replies: 0
    Last Post: 17-03-2009, 15:40
  5. Data trigger and data events
    By ErosOlmi in forum TBEM module - thinBasic Event Manager module
    Replies: 9
    Last Post: 10-10-2008, 22:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •