Identifier names  Special ASCII characters

Chapter 1: Language Basics

Labels

Description

You can include labels in scripts for use with GOTO statements.

Syntax

Identifier :

Usage

A label can be any valid identifier. You can enter it on a line by itself above the statement or at the start of the line before the statement.

For information about the GOTO statement, see GOTO. For information about valid identifiers, see “Identifier names”.

Examples

On a line by itself above the statement

FindCity:

IF city=cityname[1] THEN ...

At the start of the line before the statement

FindCity: IF city=cityname[1] THEN ...





Copyright © 2004. Sybase Inc. All rights reserved. Special ASCII characters

View this book as PDF