DEC BASIC: can FILL$ store spaces
- From: StGallen <sengupta.suhas@xxxxxxxxx>
- Date: Thu, 14 Jun 2012 21:38:23 -0700 (PDT)
Hello All
Consider the following MAP.
MAP (ABC) &
STRING A$ = 3%, &
STRING FILL$ = 3%
When I use this MAP file to write to an sequential file, I see SPECIAL characters for FILL. For example:
XYZ***
YUX***
I have used * to represent the special character.
My question is: How do I make FILL print SPACES?
I understand I could just as easlily use a variable and assign spaces to it like so:
MAP (ABC) &
STRING A$ = 3%, &
STRING B$ = 3%
and in BASIC: B$ = SPACE$(3%)
P.S: Why do we need FILLs? From the manual: "FILL items reserve space in map and common blocks and in record buffers accessed by MOVE or REMAP statements." Why? For temporary storage?
Thanks!
.
- Follow-Ups:
- Re: DEC BASIC: can FILL$ store spaces
- From: Neil Rieck
- Re: DEC BASIC: can FILL$ store spaces
- From: Johnny Billquist
- Re: DEC BASIC: can FILL$ store spaces
- From: David Froble
- Re: DEC BASIC: can FILL$ store spaces
- Prev by Date: Re: code to demonstrate file lock without RMS
- Next by Date: Re: Databases for VAX?
- Previous by thread: Font used by DEC on the AlphaServer 300 name plate?
- Next by thread: Re: DEC BASIC: can FILL$ store spaces
- Index(es):
Relevant Pages
|