[comp.sys.mac.hypercard] LSC 3.0 is breaking my XCMDs.

sirkm@ssyx.ucsc.edu (Greg Anderson) (05/06/89)

I have written several XCMDs with LightSpeed C version 2.  When I
upgraded to version 3, they broke.

The problem is that string constants don't seem to be accessible to
the XCMDs in LSC 3, even though they were in LSC 2.

I seem to remember a discussion on the net about steps needed to
initialize the A4 or A5 register when using global variables; does
this apply to using string constants as well?  Could someone
send me the required startup code?

----------------------------------------------------------------
	Greg Anderson
	Social Sciences Computing
	University of California, Santa Cruz

aisl@uhura.cc.rochester.edu (Lawrence Landry) (05/08/89)

In article <7028@saturn.ucsc.edu> sirkm@ssyx.ucsc.edu (Greg Anderson) writes:
>The problem is that string constants don't seem to be accessible to
>the XCMDs in LSC 3, even though they were in LSC 2.

The code required is discussed on pages 84-85 of the User's Manual
for version 3.

Larry Landry
University of Rochester

sirkm@ssyx.ucsc.edu (Greg Anderson) (05/08/89)

In article <1876@ur-cc.UUCP> aisl@uhura.cc.rochester.edu writes:
>  >The problem is that string constants don't seem to be accessible to
>  >the XCMDs in LSC 3, even though they were in LSC 2.
>
>The code required is discussed on pages 84-85 of the User's Manual
>for version 3.
>
>Larry Landry
>University of Rochester

Thanks to all who pointed me to the propper section of the manual.  My
XCMDs are alive again!


     ___\    /___               Greg Anderson              ___\    /___ 
     \   \  /   /         Social Sciences Computing        \   \  /   /
      \  /\/\  /    University of California, Santa Cruz    \  /\/\  /
       \/    \/              sirkm@ssyx.ucsc.edu             \/    \/