Path: news.daimi.aau.dk!news.uni-c.dk!sunic!sunic.sunet.se!mimuw.edu.pl!fuw.edu.pl!wariat.org!eff!news.kei.com!news.mathworks.com!udel!gatech!howland.reston.ans.net!news.sprintlink.net!pulm1.accessone.com!usenet From: Baiss E. Magnusson Newsgroups: comp.lang.beta Subject: Re: Constants in Beta Date: 19 Apr 1995 17:49:32 GMT Organization: PDI Lines: 38 Distribution: world Message-ID: <3n3ifc$5n@pulm1.accessone.com> References: <3n1mdi$6h3@pulm1.accessone.com> NNTP-Posting-Host: 204.118.152.121 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Nuntius 2.0_68K X-XXDate: Wed, 19 Apr 1995 18:48:31 GMT In following up on how to do constants in Beta, I looked at file which looks like it does what I want. So I started writing the following code shown below, which I put in file ! However, it fails to build successfully ( as shown by the error at the bottom), and in fact the same thing happens when I try to build ! What should the be, for this kind of file? Is this strategy correct? And if so what do I need to do to include this fragment in all my source files? ******************* ORIGIN '~beta/maclib/v2.8/maclib' [[ --- LIB : attributes --- (# PASTE_ID : (# exit 5 #); CLEAR_ID : (# exit 6 #); #); ---]] ******************* ... Bind fragments in: 'UI_DEFINES'!Checking!Code generation.. Resource macintosh hd:applications:beta:beta3.0pe:basiclib:v1.4:private:external:betaenv_m cbody.rsrc Linking ### Macintosh HD:Development:MPW Folder:tools:link: Error: Undefined entry, name: (Error 28) "T1PROGRAM" Referenced from: #1 in file: macintosh hd:applications:beta:beta3.0pe:basiclib:v1.4:mac:betaenv.o ### Macintosh HD:Development:MPW Folder:tools:link: Errors prevented normal completion.