🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26814

Re: Megamax inline assembly woes (solution)

#26814
From: m5
Date: Thu, 14 May 1987 15:01
56 lines
1806 bytes
In article <272@nikhefh.UUCP> gert@nikhefh.UUCP (Gert Poletiek) writes:
 >Some of the things that Mark Williams will compile and Megamax will not:
 >
 >Passing a structure to a function:
 >
 >function ( var )
 >struct x   var;			/* notice the absence of the '*var' !! */
 >{
 >	...
 >}

False.  It works.

 >
 >Function returning a structure:
 >
 >struct x
 >function ( ... )
 >{
 >	struct x  x;
 >	....
 >	return ( x );		/* return a structure !! */
 >}
 >

False.  It works.

 >Declaring variables both at the top of a function and in a loop:
 >
 >function ( ... )
 >{
 >	int	x, y, z;
 >
 >	....
 >	while ( condition )  {
 >		register char	*cp;		/* <<< megamax won't allow this */
 >	}
 >}
 >

False.  It works.

 >Gert Poletiek

What version were you using?  I have (in the past five minutes) tried all of
these things, and they do work.  Honest.  I'm using a recent version, NOT
the pre-release.




-- 
Mike McNally, mercifully employed at Digital Lynx ---
    Where Plano Road the Mighty Flood of Forest Lane doth meet,
    And Garland fair, whose perfumed air flows soft about my feet...
uucp: {texsun,killer,infotel}!pollux!bobkat!m5 (214) 238-7474
Technical Details
Message-ID: <962@bobkat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!im4u!ut-sally!ut-ngp!infotel!pollux!bobkat!m5
References: <8705030519.AA18707@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!im4u!ut-sally!ut-ngp!infotel!pollux!bobkat!m5
From: m5@bobkat.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: Megamax inline assembly woes (solution)
Message-ID: <962@bobkat.UUCP>
Date: Thu, 14-May-87 11:01:18 EDT
Article-I.D.: bobkat.962
Posted: Thu May 14 11:01:18 1987
Date-Received: Sat, 16-May-87 14:39:25 EDT
References: <8705030519.AA18707@ucbvax.Berkeley.EDU>
Reply-To: m5@bobkat.UUCP (Mike McNally (Man from Mars))
Organization: Digital Lynx, Inc; Dallas, TX
Lines: 56