home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!amdahl!JUTS!duts.ccc.amdahl.com!aces
- From: aces@mcode.amdahl.com (Jeffrey D. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: CanDo 1.6 bug?
- Message-ID: <d4s1022129CW01@JUTS.ccc.amdahl.com>
- Date: 4 Nov 92 16:18:49 GMT
- Sender: netnews@ccc.amdahl.com
- Reply-To: jds30@amail.amdahl.com
- Organization: Amdahl Corporation, Sunnyvale Ca.
- Lines: 21
-
- I noticed what appears to be a bug in CanDo 1.6 callable
- routines.
-
- I defined 2 GLOBAL routines, say "Fubar" and "Snafu". I
- defined 2 LOCAL routines, say "Snafu" and "Gorko". I defined
- a button script that calls "Gorko" which calls "Fubar" which
- calls "Snafu".
-
- There are 2 "Snafu" routines, GLOBAL and LOCAL. The GLOBAL
- routine "Fubar" calls "Snafu". The LOCAL routine calls "Fubar".
-
- According to the 1.5 supplement manual, the GLOBAL "Snafu"
- routine should not be invoked, but it is invoked when it is
- called by "Fubar" (a GLOBAL routine).
-
- Button Script calls "Gorko": It finds the LOCAL "Gorko".
- The LOCAL "Gorko" calls "Fubar": It finds the GLOBAL "Fubar".
- The GLOBAL "Fubar" calls "Snafu": It finds the GLOBAL "Snafu".
-
- If I make a copy of the GLOBAL "Fubar" as a LOCAL "Fubar", then
- the LOCAL "Snafu" is invoked. This appears to be a bug. Is it?
-