Combine two variables


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    32

    Default Combine two variables

    I have a problem, i have two variables from these two i get a it is the union of two, I explained with an example:

    Variabile_1 =3
    Variabile_2 =5

    Variabile_3 = Variabile_ 1 e Variabile_2

    Variabile_3=35

    How can we do?

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


    Did you find this post helpful? Yes | No

    Default

    Will Variabile_2 & Variabile_1 be always <10 and decimal values?

    If so...Variabile_3 = (Variabile_1*10) + Variabile_2
    Steve

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

  3. #3
    Join Date
    Oct 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Smile

    Hi!

    Thanks for the help

Similar Threads

  1. Max Variables
    By shawn in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th January 2008, 04:05
  2. Variables not appearing in Watch Window MPLabv7.3
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th June 2006, 14:36
  3. How to tell which PICs can handle 16 bit variables?
    By MikeTamu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st August 2005, 08:44
  4. edit names of variables
    By mischl in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th January 2005, 21:00
  5. Problems with variables
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th December 2004, 18:37

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