home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20903 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!destroyer!news.iastate.edu!dunix.drake.edu!acad.drake.edu!gg4921s
  3. From: gg4921s@acad.drake.edu
  4. Subject: Think C & XFCNs returnValue Monster?
  5. Message-ID: <1993Jan7.115345.1@acad.drake.edu>
  6. Lines: 24
  7. Sender: news@dunix.drake.edu (USENET News System)
  8. Nntp-Posting-Host: acad.drake.edu
  9. Organization: Drake University, Des Moines, Iowa, USA
  10. Date: Thu, 7 Jan 1993 17:53:45 GMT
  11.  
  12.                                                                            
  13. XFCNs written in Think C:
  14.   I have a problem returning a value to HyperCard:  I can return a value
  15. to a field or the message box.  My XFCN's will not return a value into a
  16. variable directly.
  17.  
  18.    example: Put myXFCN("param1") into myReturnValue
  19.             Put myReturnValue
  20.  
  21.    yields an empty message box where as:
  22.  
  23.             Put "" into myReturnValue
  24.             Put myXFCN("param1") & myReturnValue into myReturnValue
  25.             Put myReturnValue
  26.  
  27.    or
  28.             Put myXFCN("param1")
  29.  
  30.    yields the correct result in the message box.
  31.  
  32. Since I am able to return value at all tells me I am doing something right?
  33. Any one out there have any clues?                                                 
  34. Thanks in advance,
  35.  
  36.