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

[REBOL] Re: REBOL Relational Object-oriented Database

From: philb:upnaway at: 22-Jun-2001 16:27

Hi Louis, the help for repend is
>> help repend
USAGE: REPEND series value /only DESCRIPTION: Appends a reduced value to a series and returns the series head. REPEND is a function value. ARGUMENTS: series -- (Type: series port) value -- (Type: any) REFINEMENTS: /only -- Appends a block value as a block so the repend statment is missing its 2nd value. emit: func [blk] [repend blk] Dont know what the function is trying to do though ... so I cant be much help there :-( Cheers Phil -- Original Message -- Scott or whoever is online, Is there an argument missing in the emit function below? csv: ask "Name of CSV File to Write to: " csv-file: to-file csv write csv-file "" ;to get fresh file emit: func [blk] [repend blk] forskip database 2 [ csv-line: make string! 1000 emit [{"} database/2/email {","} database/2/name {","} database/2/phone {","} database/2/web {"^/}] write/append csv-file csv-line ] I get the following erro message: ** Script Error: repend is missing its value argument ** Where: emit ** Near: repend blk At 05:22 PM 6/21/2001 -0500, you wrote: