QBASIC question 
Author Message
 QBASIC question

--------------CB9407F31019EFD48AE378B9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

What is the line continuation character in QuickBASIC?

I have a long PRINT statement. I know in C it is \


Kris

--------------CB9407F31019EFD48AE378B9
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Hi,

<P>What is the line continuation character in QuickBASIC?

<P>I have a long PRINT statement. I know in C it is \


<P>Kris
<BR>&nbsp;</HTML>

--------------CB9407F31019EFD48AE378B9--



Thu, 25 May 2000 03:00:00 GMT  
 QBASIC question

PRINT USING

'        The apostrophe (') character causes only the first character of
the string to be printed.

\   \  A pair of backslashes may enclose n number of spaces.  Ths prints
n + 2 characters from a string.  Zero spaces allow 2 characters.  If the
string is longer than the field, the extra characters are ignored.  If the
field is longer than the string, the string is left-justified and padded
with spaces on the right.

&     The ampersand signifies a variable- length fied.  The string is
printed without modification.

+     The plus sign ( +) causes the sign of a number(plus or minus) to be
printed before or after the number as specified.

Note: these are some of the PRINT USING CHARACTERS used in QB.
there are a few others.

hope this helps
SammyD=QBNewbie



Quote:
> Hi,

> What is the line continuation character in QuickBASIC?

> I have a long PRINT statement. I know in C it is \


> Kris



Fri, 26 May 2000 03:00:00 GMT  
 QBASIC question



Quote:
>What is the line continuation character in QuickBASIC?

I don't work in QBASIC but for most BASIC's I have worked in (excepting VB
3.0 which didn't have this capability) the continuation is indicated by
placing a " _" at the end of the line being continued. That's "space
underscore" and most of them are picky about demanding the "space" ;-)


Fri, 26 May 2000 03:00:00 GMT  
 QBASIC question

AK>What is the line continuation character in QuickBASIC?
AK>I have a long PRINT statement. I know in C it is \


   The underscore character _ is the line continuation character in QB and
   it works in PDS and QBASIC (at least for me it does).

- Robert

 * OLX 2.1 TD * "Nobody told me there'd be days like these!"



Sat, 27 May 2000 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. stupid qbasic question

2. QBasic question

3. QBASIC QUESTION

4. QBasic question

5. Mini-SSC and Qbasic questions.

6. Really really stuck on this one. (QBasic Question)

7. QBasic question

8. Qbasic question

9. Is there a way? (qbasic question)

10. Qbasic question

11. General Qbasic questions

12. QBasic question

 

 
Powered by phpBB® Forum Software