This is a multi-part message in MIME format. ------ extPart_000_0178_01C2C955.33B15CE0 Content-Type: text/plain; charset s-ascii" Content-Transfer-Encoding: 7bit You were right :). -D > -----Original Message----- > From: Yukihiro Matsumoto [mailto:matz / ruby-lang.org] > Sent: Friday, January 31, 2003 3:57 AM > To: ruby-talk ML > Subject: Re: simple question re: require > > > Hi, > > In message "simple question re: require" > on 03/01/31, "Dwayne Smurdon @ DNA Media Pro" > <smurdon / dnamediapro.com> writes: > > |So in DBConn, I have: > | > |require 'win32ole' > |require 'OutlookContact' > |#.... and then I start my code. > | > |When I try to compile DBConn -- I get the following: > | > |D:/Apps/Ruby/projects/DbConn.rb:2:in `require': > ./OutlookContact.rb:19: parse error (SyntaxError) > | from D:/Apps/Ruby/projects/DbConn.rb:2 > | > |For clarification, line 2 is the require statement for > OutlookContact above. > > You have a syntax error in ./OutlookContact.rb line 19. > > matz. > > ------ extPart_000_0178_01C2C955.33B15CE0 Content-Type: text/html; charset s-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1"> <TITLE>RE: simple question re: require</TITLE> </HEAD> <BODY> <!-- Converted from text/plain format --> <P><FONT SIZE=2>You were right :).</FONT> </P> <P><FONT SIZE=2>-D</FONT> </P> <P><FONT SIZE=2>> -----Original Message-----</FONT> <BR><FONT SIZE=2>> From: Yukihiro Matsumoto [mailto:matz / ruby-lang.org]</FONT> <BR><FONT SIZE=2>> Sent: Friday, January 31, 2003 3:57 AM</FONT> <BR><FONT SIZE=2>> To: ruby-talk ML</FONT> <BR><FONT SIZE=2>> Subject: Re: simple question re: require</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Hi,</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> In message "simple question re: require"</FONT> <BR><FONT SIZE=2>> on 03/01/31, "Dwayne Smurdon @ DNA Media Pro" </FONT> <BR><FONT SIZE=2>> <smurdon / dnamediapro.com> writes:</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> |So in DBConn, I have:</FONT> <BR><FONT SIZE=2>> |</FONT> <BR><FONT SIZE=2>> |require 'win32ole'</FONT> <BR><FONT SIZE=2>> |require 'OutlookContact'</FONT> <BR><FONT SIZE=2>> |#.... and then I start my code.</FONT> <BR><FONT SIZE=2>> |</FONT> <BR><FONT SIZE=2>> |When I try to compile DBConn -- I get the following:</FONT> <BR><FONT SIZE=2>> |</FONT> <BR><FONT SIZE=2>> |D:/Apps/Ruby/projects/DbConn.rb:2:in `require': </FONT> <BR><FONT SIZE=2>> ./OutlookContact.rb:19: parse error (SyntaxError)</FONT> <BR><FONT SIZE=2>> | from D:/Apps/Ruby/projects/DbConn.rb:2</FONT> <BR><FONT SIZE=2>> |</FONT> <BR><FONT SIZE=2>> |For clarification, line 2 is the require statement for </FONT> <BR><FONT SIZE=2>> OutlookContact above.</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> You have a syntax error in ./OutlookContact.rb line 19.</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> matz.</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> </P> </BODY> </HTML> ------ extPart_000_0178_01C2C955.33B15CE0--