Best way to join two variable in one


Results 1 to 7 of 7

Threaded View

  1. #5
    Join Date
    Jun 2016
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: Best way to join two variable in one

    I need to convert 24 Hours in seconds, so the number span from 1 to 86400 which cannot be handled by a word. Now I am using the workaround using a 12 Hours system, which complicate a bit the coding, since the source time base is 24 Hours.

    Long could be a solution, but I need a break on the coding and learn how to use the long and then, with the knowledge, decide if use it or leave the things as they are. (After all the workaround works fine!)

    I was asking for a snippet on how to use the long, good starting point in the learning process.

    Thank you anyway.

    Allberto

    Edited: I did search into pbp3 user manual and didn't find any reference to long! Where have I to search?
    Last edited by Alberto; - 29th January 2017 at 09:38.

Similar Threads

  1. Assigning a string variable to another string variable
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd June 2013, 17:55
  2. Variable within Variable
    By munromh in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th January 2009, 14:44
  3. Strings......and how to join them
    By gringobomba14 in forum General
    Replies: 17
    Last Post: - 22nd July 2008, 14:15
  4. One variable made up of another variable
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st September 2007, 00:18
  5. 2 variable
    By isaac in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th May 2004, 21: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