Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Dungeon Generator in 4 lines anyone?
#13
Yeah, but it is the compiler which doesn't take more than 256 chars. When you load that program in, say, PDS 7.1 and you hit on "Compile", the IDE splits the lines into 256 chars one using "_" and sends them to the compiler. Try compiling it from the command line: Call BC LONG.BAS /T/O/C:512 from the command line and see.

Code:
H:\>bc long.bas /t/o/c:512
Microsoft (R) QuickBASIC Compiler Version 4.50
(C) Copyright Microsoft Corporation 1982-1988.
All rights reserved.
Simultaneously published in the U.S. and Canada.
Object Filename [LONG.OBJ]:
Source Listing [NUL.LST]:
0030   0006    'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk
lmnopqrstuvwxyzabcdefghijklmnopqrstuabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqr
stuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst
uvwxyzabcdefghijklmnopqrstuvw



                               ^ Line too long
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Messages In This Thread
Random Dungeon Generator in 4 lines anyone? - by na_th_an - 02-19-2005, 04:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)