Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Legacy REBOLs (Was Re: earth demo)

From: carl::cybercraft::co::nz at: 12-Mar-2003 14:01

On 12-Mar-03, James Marsden wrote:
> Hi Bryan, > Regarding: > { > When i try and run it I get > ** Script Error: as-pair has no value > ** Where: context > ** Near: boxsize: as-pair 2 * radius0 > } > You can easily add the functionality into older view versions with > the following: > as-pair: func [ > "Combine X and Y values into a pair." > x [number!] y [number!] > ][ > to-pair reduce [to-integer x to-integer y] > ] > James.
Given there's going to a list of OSs which are stuck wih older REBOL's, (Core 2.5.0 and View 1.2.1, I assume), what issues is that going to create for us? It'd be nice to know that if we wrote a script for the older versions they'd run unchanged on the newer ones, but that's not going to be the case, is it? (Yes, I know the as-pair example above is the other way around.) So, are the changes that have been made to REBOL too large to consider being able to work around them, or could a not too long list of them be put together to allow us to still write code that'd work on the full list of OSs REBOL has run on up until now? (I'm not suggesting this as a general approach of course, but just as a way for those who still need to use older platforms to still write cross-platform code.) -- Carl Read