Skip to main content

AUTO Command | GW-BASIC

AUTO Command

Purpose:

To generate and increment line numbers automatically each time you press the RETURN key.

Syntax:

AUTO [line number][,[increment]]
AUTO .[,[increment]]

Comments:

AUTO is useful for program entry because it makes typing line numbers unnecessary.
AUTO begins numbering at line number and increments each subsequent line number by increment. The default for both values is 10.
The period (.) can be used as a substitute for line number to indicate the current line.
If line number is followed by a comma, and increment is not specified, the last increment specified in an AUTO command is assumed.
If AUTO generates a line number that is already being used, an asterisk appears after the number to warn that any input will replace the existing line. However, pressing return immediately after the asterisk saves the line and generates the next line number.
AUTO is terminated by entering CTRL-BREAK or CTRL-C. GW-BASIC will then return to command level.

Note
The line in which CTRL-BREAK or CTRL-C is entered is not saved. To be sure that you save all desired text, use CTRL-BREAK and CTRL-C only on lines by themselves.

Examples:

AUTO 100, 50
Generates line numbers 100, 150, 200, and so on.
AUTO
Generates line numbers 10, 20, 30, 40, and so on.

HERE IS THE VIDEO TO HELP YOU

Comments

Popular posts from this blog

Top 4 Best Email Marketing Tools to build your blog Audience

You can either make one time sales, or you can accumulate wealth, wealth disguised as Emails, and keep making money forever, your choice.  If you passed your 5th grade in one go, I'd say you're smart enough to go with option #2. Well, that's a good choice. But people won't just give you their E-mails, right? You need to have a system in place, to scrape it off of them, without pissing them off, so that they actually pay attention to your Emails in their inboxes. Now, you can use a variety of tools for the task. But what makes most of the impact is, the design. That's what people notice before they notice anything else, ofcourse you need to have advanced options too. In this article, we will show you the top 4 best Email marketing tool to build your blog audience so you can make most of every user. 1. GetResponse: The reason for me listing GetResponse right at the top is pretty simple. Cause, it's the best. As far as feature, service and the price is concerned. ...

Watch LIVE | Polls Closed | NA120 Election

LIVE POLLS RESULT NOW STREAMING