Path: news.cs.au.dk!news.net.uni-c.dk!uninett.no!newsfeed.nacamar.de!uio.no!nntp.uio.no!ubmac86.uio.no!user From: kolbjorn.aambo@ub.uio.no (Kolbjørn Aambø) Newsgroups: comp.lang.beta Subject: Re: How to do low level stuff Date: Thu, 28 Jan 1999 10:28:02 +0100 Organization: UBO Lines: 34 Message-ID: References: <368B8A70.CF9934FF@thestar.ca> <36950D20.2FAD4D18@thestar.ca> NNTP-Posting-Host: ubmac86.uio.no Xref: news.cs.au.dk comp.lang.beta:11802 In article , Morten Grouleff wrote: > Karl Waclawek writes: > > [...] : > In the next release of the Mjolner System, some new basic types are > introduced. These include signed and unsigned integers of sizes > 8,16,32,64 bits. There will also be a 16 bit wchar which is intended to > hold unicode chars. : This is just great.... asked for that some years a go by the way.... But there is one additional thing you just have to adress to get BETA to become a more useful language: Lets give variables an ENDIAN based type! bsUInt64 (bigsmallUnsigned64bit int) Big Endian Unsigned 64 bit. sbUInt64 (smallbigUnsigned64bit int) Little Endian Unsigned 64 bit. same for all other types.... Cant you just rename wchar into Unicode: bsUnicode sbUnicode If you followed that advice you could make an Internet Communication package where everything is done big Endian, for instance. Let the compiler do bs->sb and sb->bs implicit and issue warnings for converting overhead if neccesary.... Kolbjørn Aambø hopeful future user of Beta 2k Last time I gave up Beta in 1991....