Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.misc > #248

Re: Binary formats

From "DonH" <donlhumphries@bigpond.com>
Newsgroups comp.lang.basic.misc
References <egpcr.5086$%E2.427@viwinnwfe01.internal.bigpond.com> <4f723247$0$6844$e4fe514c@news2.news.xs4all.nl>
Subject Re: Binary formats
Message-ID <krJcr.4970$v14.436@viwinnwfe02.internal.bigpond.com> (permalink)
Date 2012-03-29 06:15 +1100
Organization BigPond

Show all headers | View raw


"R.Wieser" <address@not.available> wrote in message 
news:4f723247$0$6844$e4fe514c@news2.news.xs4all.nl...
>> But what does "format" mean?
>
> In your context its just a fancy word for a phrase like "the way its
> displayed".
>
> Example: time.  You can "format" it using a 24-hour clock, but also using 
> a
> 12-hour clock (using AM or PM).  The data is the same, its just 
> written-down
> differently.
>
> In the case you described the three examples (12: ... , 241:... and 
> 18:...)
> are actually in the same format (and not three different ones, as the text
> seems to suggest) :  A decimal value, a colon, and than the binary
> representation of the decimal value.
>
> Hope that clarifies it.
>
> Rudy Wieser
>
> P.s.
> It sure looks like you are posting homework-related stuff here ...
>
>
> -- Origional message:
> DonH <donlhumphries@bigpond.com> schreef in berichtnieuws
> egpcr.5086$%E2.427@viwinnwfe01.internal.bigpond.com...
>> "The results are displayed in the format 12:1100 or 241:11110001 or
>> 18:10010."
>> (Page 51 of "Practical PC-2/PC-1500 Pocket Computer Programs" by Jim 
>> Cole)
>>
>>   The above quote is part of text explaining program called
> "Binary/Decimal
>> Decimal/Binary Converter".
>>
>>    But what does "format" mean?   I assume the display varies according 
>> to
>> capacity of your computer, back then (1983).
>
>
>

# Thanks for responses.
   The text was badly worded, especially use of "or", so I thought it was 
something esoteric, instead of the bleeding obvious.
   What I was really after was an explanation as to why binary is presented 
in different manner, seemingly dependent on circumstances.
    For example, in back of book "Computer Programming in Basic" (Carter and 
Huzan), there is an ASCII 64-character set, in which binary is a 7-digit 
code; yet elsewhere can be 8-digit, etc.
    I assume the (0s,1s) prefixes used has to be adequate to cover the range 
of characters, as the 64-set does not include the lower-case alphabet, but 
only caps.
    Has standardisation now been reached? 

Back to comp.lang.basic.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Binary formats "DonH" <donlhumphries@bigpond.com> - 2012-03-28 07:18 +1100
  Re: Binary formats "R.Wieser" <address@not.available> - 2012-03-27 23:42 +0200
    Re: Binary formats "DonH" <donlhumphries@bigpond.com> - 2012-03-29 06:15 +1100
      Re: Binary formats "R.Wieser" <address@not.available> - 2012-03-29 01:17 +0200
        Re: Binary formats Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-03-29 13:53 +0200
          Re: Binary formats "R.Wieser" <address@not.available> - 2012-03-29 14:30 +0200
            Re: Binary formats Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-03-29 21:01 +0200
              Re: Binary formats Hector Alfaro <alfaropas@ceropublicidad.com> - 2012-04-01 15:25 -0430
          Re: Binary formats "DonH" <donlhumphries@bigpond.com> - 2012-04-04 06:09 +1000
            Re: Binary formats Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-04-05 10:41 +0200
              Re: Binary formats "DonH" <donlhumphries@bigpond.com> - 2012-04-06 05:54 +1000
                Re: Binary formats ralph <nt_consulting64@yahoo.net> - 2012-04-05 21:21 -0500
        Re: Binary formats "news@rtrussell.co.uk" <news@rtrussell.co.uk> - 2012-03-29 01:32 -0700
  Re: Binary formats Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2012-03-27 23:34 +0200

csiph-web