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

[REBOL] make routine madness

From: antonr:lexicon at: 15-Jan-2005 11:51

Anyone seen anything like this before ?
>> test: make routine! aspec lib "_FSOUND_SetOutput-4"
** Script Error: Invalid argument: integer ** Near: test: make routine! aspec lib
>> test: make routine! [outputtype [integer!] "int" return: [char!] "signed
char"] lib "_FSOUND_SetOutput-4"
>> aspec ;== [outputtype [integer!] "int" return: [char!] "signed
char"] For the second line of code I have copied the molded aspec output that you can see on the last line - well, just look, they are the same. Some sort of weird load/binding problem ? I have tried loading and binding ... This is really bizarre. Oh, I think I figured it out. :) The "integer!" should actually be a word! not a datatype! I was trying to be "too good". Anton.