BBS: Inland Empire Archive Date: 06-04-92 (04:14) Number: 185 From: MICHAEL MALLEY Refer#: NONE To: NINO MAIDA @ 914/201 Recvd: NO Subj: Filename$ Conf: (2) Quik_Bas
NM@9>My problem is that any declaration of Subs, fnx,/Commons seem to require NM@9>that no vars be used before them in the listing. NM@9>If Filenam$ must be set only after these, then it is not easily NM@9>changeable. Define the name as a constant: CONST FileName$ = "Constant 1.0" DECLARE SUB Copyright () Copyright END SUB Copyright PRINT "This is: "; FileName$ END SUB That will do what you want. - Michael :) * SLMR 2.1a * This is a chain tagline. I have been stolen 7 times. --- Maximus 2.01wb * Origin: UltraTech - Nashville, TN (615) 356-0453 {HST} (1:116/30)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET