Edit, Warning – Remote Processing CAMBASIC User Manual

Page 74

Advertising
background image

Comm ands - 41

EDIT

Command

SYNTAX:

EDIT line
“ . ”

PURPOSE:

To display a line for editing.

REMARK S:

The EDIT statement simply displays the line specified, and positions the cursor under the first
character of the line. The line m a y th e n b e m od if ie d , a s d e sc r ib e d u n de r th e E di ti ng P r og r a m s
Chapter. T yping a period “.” will edit the current line.

EXAMPLE:

EDIT 10

10 A =15
10 _

The syntax below displays the current line for editing. The current line is the last line entered, OR
the last line edited, OR the last line executed, OR the last line in a download, OR the line in which
an error occur red, whichever was the last condition.

. <ENTER>

10 A=15
10 _

See the Editing Programs C hapter for mor e information.

NOTE: Labels cannot be used in place of line number with EDIT.

NOTE: PC Sm artLINK has a scre en editor which may also be used.

WARNING:

You cannot use EDIT when using the full screen editor in PC SmartL INK at the

same time.

RELATED:

none

ERROR:

< Line/label not found> – if line does not exist

Advertising