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

[REBOL] Re: How to check function arguments ?

From: jason:cunliffe:verizon at: 8-Jun-2002 16:10

Hi Gregg
> Do you mean refinements?
..not exactly thanks, but your example taught me something handy:-)
>> somefunc: func [inp] [print [inp * 3.14159]] >> somefunc 4
12.56636
>> somefunc
** Script Error: somefunc is missing its inp argument ** Near: somefunc Q1: How to catch the missing param so the script won't crash? ./Jason