Thread View: comp.sys.acorn.tech
1 messages
1 total messages
Started by Jon Thackray
Mon, 11 Jan 1993 13:21
Objasm/Aasm conditional includes
Author: Jon Thackray
Date: Mon, 11 Jan 1993 13:21
Date: Mon, 11 Jan 1993 13:21
28 lines
1205 bytes
1205 bytes
Well no-one else seems to solved this problem, so here's a solution. The problem is to avoid multiple scanning of files acquired by GET, similar to the multiple include problem in C. Objasm and AAsm have an operator :DEF: for seeing if variables are defined yet. Thus one can write:- [ :LNOT:(:DEF:A) GBLA A ; ; A is actually a variable whose name should be unique to this source ; file ; ; Insert your source here ; ] END PS This may well be using an undocumented feature, it's a long time since I wrote the code to implement it. and even longer since I've seen the released documentation. -- Jon Thackray jont@uk.co.harlqn 44 223 872522 (voice) Harlequin Ltd. jgt1@uk.ac.cam.phx 44 223 872519 (fax) Barrington Hall Barrington Cambridge CB2 5RG England
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads