home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 18101 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.0 KB  |  43 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!erenj.com!ramsgi.erenj.com!ram
  3. From: ram@ramsgi.erenj.com (ram rajagopalan)
  4. Subject: Inventor Question
  5. Message-ID: <1992Dec16.162928.16505@erenj.com>
  6. Sender: news@erenj.com (USENET News System)
  7. Nntp-Posting-Host: ramsgi.erenj.com
  8. Organization: Exxon Research & Engineering Co.
  9. Date: Wed, 16 Dec 1992 16:29:28 GMT
  10. Lines: 31
  11.  
  12.  
  13. hi,
  14.  
  15.  This may be a really stupid question,  but here it is.  I am in the 
  16.  process of learning inventor, and I am trying to set the value for
  17.  the fields in the nodes.  I get a compile time error in attempting
  18.  to do this.  Any pointers would be appreciated.  Code segment follows.
  19.  I am using the C binding ...
  20.  
  21.   SoCmplx      *sph_cmplx;
  22.  
  23.   sph_cmplx = SoCmplxCreate();
  24.   sph_cmplx->value = 0.25;
  25.  
  26.   ...
  27.   ...
  28.  
  29.  
  30.  Error Message:
  31.  
  32. accom: Error: sph.c, line 115: operands of = have 1) incompatible types or 2) disallowed type(s)
  33.           sph_cmplx->value = 0.25;
  34.        --------------------------^
  35. *** Error code 1
  36.  
  37. Stop.
  38.  
  39. -- 
  40. regards,
  41.  
  42. ram
  43.