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

BASCOM-8051 : Automatic covertion to ASCII problem : REPLY

$
0
0
I don't use any connection.... It's just a simple program, here : [code:1:8e3d1266d7] Dim A As Word Dim C As Word Dim X As Word Dim D As Word B: Print "ENTER A NUMBER IN RANGE FROM 1 TO 100" Input A If A >= 1 And A <= 100 Then For X = A To 100 Print X Next X Else Print "NUMBER IS NOT IN THE RANGE FROM 1 TO 100" Gosub B End If Print "DO YOU WANT TO START PROGRAM AGAIN.TYPE 1 FOR YES ." Input C If C = 1 Then Gosub B Else End End If [/code:1:8e3d1266d7] But when i type letter (lets say "a" ...) it prints from ASCII code number of a to 100, how to fix that?

Viewing all articles
Browse latest Browse all 20637

Trending Articles



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