Das Open-Control-Projekt - Die Alternative zur C-Control-I


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 Re: BYTE / 2 Problem Kategorie: Programmierung Basic (von Hans - 13.10.2005 19:19)
 Als Antwort auf Re: BYTE / 2 Problem von Windt H.J. - 12.10.2005 23:28
Hans nutzt:  CC1-M-Unit V1.2/2.0
Hallo
vielen dank fur die snelle reaction
es ist genau was ich meine
und es tut es gut

I hope that this is readable because i had to look up all these words
THanks
 
 


> Hello,
> Try this...
> Greetings,
> H.J. Windt
>
> define byte1 byte[1]
> define high4bit byte[2]
> define low4bit byte[3]
>
> #start
> print"Enter byte1"
> input byte1
>
> high4bit = byte1 / 16
> low4bit = byte1 mod 16
>
> print"high4bit = "; high4bit
> print"Low4bit =  "; low4bit
>
> goto start

 Antwort schreiben

Bisherige Antworten: