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

[REBOL] Re: REBOL-SIMPLE dialect

From: carl:cybercraft at: 22-Aug-2008 23:12

On Thursday, 21-August-2008 at 7:18:46 Tim Johnson wrote,
>> Well spotted. Plus, given this was supposed to be an easy example for new >> users to figure out, isn't it reasonable to assume that the questionmark is >> part of REBOL's syntax and not just a character that's part of a word? >> Afterall, colons are added to both the beginning and ends of words in >> REBOL, so it stands to reason that a questionmark on the end of one >> suggests they can be added to all words. ie... > Hiya Carl: > Might be good to check all type predicates for R3. Myself I've made use of >only > a few of the datatypes - but with REBOL3 coming along would be a good > time to review them. Know that all tests are correct would "harden" rebol.
I've not touched R3 yet. Will wait until I've actually a need for it, since I've no time just to play with it. (Plus I loath software upgrades. Seems there's one or two a week these days if you've a reasonable amount of software installed, and with them all having the potential to waste hours of your time should they stuff something up...)
> BTW: I noticed something interesting: > >> source email? >email?: native ["Returns TRUE for email values." value [any-type!] 43] > >Us "old hands" know that 'native means that this function is coded in C >and compiled into the binary _But_ what does the number 43 mean? >again email?: native ["Returns TRUE for email values." value [any-type!] 43]
Seems all the datatypes have a number...
>> source file?
file?: native ["Returns TRUE for file values." value [any-type!] 42] so probably something as simple their addition to REBOL. Is there to be a video datatype in R3? I see there's a video tag planned for HTML 5. Hopefully REBOL plans to keep up. -- Carl Read.