Path: news.cs.au.dk!not-for-mail From: Flemming Gram Christensen Newsgroups: comp.lang.beta Subject: Re: 64 bit signed ints like in Java, long long as in C Date: Thu, 29 Jul 1999 13:34:25 +0200 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 42 Message-ID: <37A03C41.149E@mjolner.dk> References: NNTP-Posting-Host: odin.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: xinwen.cs.au.dk 933248066 6360683 255.255.255.255 (29 Jul 1999 11:34:26 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 29 Jul 1999 11:34:26 GMT X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.6 sun4m) Xref: news.cs.au.dk comp.lang.beta:12044 Kolbjørn Aambø wrote: > > Now that Mjolner have decided to implement Unicode strings there are only > two aspect of the Beta language that prevent me from using it for somthing > futuristic; > > 1) it lacks 64 bits integers. Since such animals are allready implemented > in std C libraries of resent OS implementations as well as many > C-compilers, I have promlems realizing why this is not part of Beta > Version 5 also. 64 bits integers are among other things used for disk file > positioning and 64 bit's date/time representation. > Answer will be posted later. > 2) One small last thing. If one of BETA's standard libraries could tell in > runtime whether it's running on a big endian or little endian machine, > that would solve most of my problems when it comes to endianness. You can use ~beta/sysutils/v1.6/endian.bet which includes patterns like isBigEndian and ntohl etc. Flemming Gram Christensen > > Could you please reconsider? > > Best wishes > > Kolbjørn Aambø, Norwegian National Library -- /Flemming Gram Christensen ------------------------------------------------------------------------ Mjolner Informatics ApS Phone: +45 86 20 20 00 Science Park Aarhus Fax: +45 86 20 12 22 Gustav Wieds Vej 10 DK-8000 Aarhus C Denmark E-mail: gram@mjolner.dk ------------------------------------------------------------------------