Article View: net.micro.mac
Article #7873hints on DEF routines
From: DMB
Date: Thu, 30 Oct 1986 21:54
Date: Thu, 30 Oct 1986 21:54
20 lines
1376 bytes
1376 bytes
This has happened to me so i'll assume it may happen to you.
You want to write a WDEF,MDEF,CDEF, etc. and so you go to IM and find
that you have to write a bunch of different routines based on the message
passed to you. Fine says you, and so you start right away writing the WDRAW
routine, as this seems the clearest and easiest to do.
When you finish the WDRAW routine, You compile it, (not an easy task
sometimes) making sure you have the 16*the resource and then with fingers
crossed, you run a demo that uses the DEFinition routine that you wrote.
Boooooooo. Nothing happened. Why??????????
Before you let the question marks run into eternity, and never try
DEF's again, don't forget this. It is MANDATORY that you write the calcrgn
routine before the DEF will work, because the DEF needs to know the size
of the object inorder to display it.
Good Luck
dave
Technical Details
Message-ID:
<8139DMB@PSUVMA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!dmbShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!dmb From: DMB@PSUVMA.BITNET Newsgroups: net.micro.mac Subject: hints on DEF routines Message-ID: <8139DMB@PSUVMA> Date: Thu, 30-Oct-86 16:54:10 EST Article-I.D.: PSUVMA.8139DMB Posted: Thu Oct 30 16:54:10 1986 Date-Received: Sun, 9-Nov-86 06:23:05 EST Lines: 20