Article View: comp.windows.x.apps
Article #677Re: @ext() dead in sc/ss/xspread ?
From: Alan Jay Stein
Date: Fri, 18 Dec 1992 14:40
Date: Fri, 18 Dec 1992 14:40
30 lines
1843 bytes
1843 bytes
In newsgroup comp.windows.x.apps, bardo@ief-paris-sud.fr (Bardo Muller) writes:
Bardo> I'd like to call a external (c/fortran/unix) function. In the
Bardo> doc this is @ext(e,x), e being the called function and x being
Bardo> the parameter to be passed. All I got so far is <illegal
Bardo> numerical value> or something like that. The behavior is quite
Bardo> similar in the above mentioned programs.
Bardo> Someone who got it running ?
Assuming you've got hello (K&R's famous "hello, world") somewhere in
your path, pop this in a file and load it into whatever version of sc
you use:
# This data file was generated by the Spreadsheet Calculator.
# You almost certainly shouldn't edit it.
set extfun
label A0 = @ext("hello",1)
goto A0
Hope that helps you out. BTW, I use sc 6.19 - Does anyone know if
there are more recent versions around, or if the X-based ones are past
6.1 yet?
--
Alan J.Stein MIT/Lincoln Laboratory alans@ll.mit.edu
"Good afternoon, this is your captain speaking. I would like to remind you
that according to FAA regulations, this flight has been declared a non smoking
flight. If you absolutely must light up, you are invited to step outside."
Technical Details
Message-ID:
<ALANS.92Dec18144029@abraham.juliet.ll.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!xn!alansReferences:
<1992Dec15.095248.16885@greco-prog.fr>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.apps,comp.apps.spreadsheets Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!xn!alans From: alans@ll.mit.edu (Alan Jay Stein) Subject: Re: @ext() dead in sc/ss/xspread ? In-Reply-To: bardo@ief-paris-sud.fr's message of 15 Dec 92 09:52:48 GMT Message-ID: <ALANS.92Dec18144029@abraham.juliet.ll.mit.edu> Followup-To: comp.apps.spreadsheets Lines: 30 Sender: usenet@xn.ll.mit.edu Organization: MIT/Lincoln Lab - Radars R Us References: <1992Dec15.095248.16885@greco-prog.fr> Date: 18 Dec 92 14:40:29