I am a hobbyist who new to PIC BASIC and have written a little beginner program that displays values from a pot to an LCD screen using the "pot" command. I have put a subroutine in that displays the ohm values when a switch is pressed and had a question about the math. Since the "pot" command displays from 0 to 255 and the rating of the pot is 10k ohms I divided the two to get each increment equal to 39.21 ohms. I would like to use three significant figures so I changed 39.21 to 392 and divided the result by 10 but the issue is that a word sized variable can only go to 65,535 and I need 100,000. I realize that I could scale back on the numbers (i.e. 196 instead of 392 and divide by 5 rather then 10) to stay in range. Is there a way of getting a variable of greater than word sized 16 bits (i.e. 32bits) with PIC BASIC?

Thanks in advance,
Scott