Subject:
|
Re: NQC 2.4 beta test
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Wed, 9 May 2001 19:32:38 GMT
|
Viewed:
|
2116 times
|
| |
| |
Dave, does NQC have version specific #defines? I want to write some
code that would compile differently depending on the version of NQC.
Something like:
#ifndef _NQC24_ ...or... #if (_NQC_ < 24)
#include "bitShift.nqh"
#endif
#ifdef _NQC24_ ...or... #if (_NQC_ >= 24)
x >>= 5;
#else
bitShiftRight(x,5,x);
#endif
Thanks, Rik.
Dave Baum wrote:
>
> NQC 2.4 a1 is in beta test, at the usual place:
> http://www.enteract.com/~dbaum/nqc/beta/index.html
>
> Eased some of the constant value restrictions on some operators, added
> an option for merged source/assembly listings, added the ternary
> operator, added variable names back into code listings.
>
> Dave Baum
>
> --
> reply to: dbaum at enteract dot com
--
Rik Blok <RikBlok@mail.com>
Centre for Applied Ethics,
University of British Columbia, Canada
http://RikBlok.cjb.net
|
|
Message has 1 Reply: | | Re: NQC 2.4 beta test
|
| (...) Sorry, NQC doesn't have anything like that right now, but its a good idea. I'll make sure it gets added before 2.4 goes final. I like __NQC__ taking on a numeric value, and I'd want to leave room for more than 10 minor versions per major (...) (24 years ago, 10-May-01, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
| | NQC 2.4 beta test
|
| NQC 2.4 a1 is in beta test, at the usual place: (URL) some of the constant value restrictions on some operators, added an option for merged source/assembly listings, added the ternary operator, added variable names back into code listings. Dave Baum (24 years ago, 9-May-01, to lugnet.robotics.rcx.nqc)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|