Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20577

BASCOM-8051 : Long var extract the single digit, help : NEWTOPIC

$
0
0
Hy All, I have one long var, for example 12345 , I need to extract in five Byte var the single value of every digit. See here: 12345 (long type) 1 to var1 (byte) 2 to var2 " 3 to var3 " 4 to var4 " 5 to var5 " the varX variable as byte The MID(x,x,x) command work only for text (xram or string variable not for long, I need convert the long type) :oops: I wait your tips. Thanks Bufere

Viewing all articles
Browse latest Browse all 20577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>