[cc65] Re: Nested Functions

From: Jonathan Graham Harston <jgh1arcade.demon.co.uk>
Date: 2005-04-09 11:10:03
> Message-ID: <02100798E096714296E1F90FEA25B781A0F456@MISSBHXVS04.uki.
capgemini.
 
"Tedder, Kevin" <kevin.tedder@capgemini.com> wrote:
> I need to declare a nested function and get the following error every time I
> compile it with CC65.
[snip]
> This techinque will eventually be used to develop a Sideways Rom (SWR) for a
> BBC Micro. As SWRs have no concept of BSS and DATA segments I can not use
 
What's wrong with:
 
int swr_service(int A, int X, int Y)
{
switch(A) {
  case 4: swr_command(); break;
  case 9: swr_help(); break;
  }
}
 
or something...? As part of Small-C 0.72 I was working on a CSRHG
('C' Sideways ROM Header Generator), a counterpart to the RISC OS
CMHG ('C' Module Header Generator). I'll dig out what I can find.
 
> begin 666 image001.jpg
 
Eh? Why's there a jpeg added onto this?
 
-- 
J.G.Harston - jgh@arcade.demon.co.uk - mdfs.net/User/JGH
Prospective Parliamentary Candidate for Sheffield Brightside
BBC BASIC for Windows and Internationalisation
  See http://mdfs.net/Software/BBCBasic/Windows/ProgTips
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Apr 9 12:00:15 2005

This archive was generated by hypermail 2.1.8 : 2005-04-09 12:00:21 CEST