beautypg.com

2 parameter types, 3 names in parameters, Table 10. rules for names – Campbell Scientific CR200/CR200X-series Dataloggers User Manual

Page 97

background image

Section 9. Programming

9.9.2 Parameter Types

Many instructions have parameters that allow different types of inputs. Common

input type prompts are listed below. Allowed input types are specifically

identified in the description of each instruction in CRBASIC Editor Help.

Constant, or Expression that evaluates as a constant

Variable

Variable or Array

Constant, Variable, or Expression

Constant, Variable, Array, or Expression

Name

Name or list of Names

Variable, or Expression

Variable, Array, or Expression

9.9.3 Names in Parameters

TABLE. Rules for Names

(p. 85) lists the maximum length and allowed

characters for the names for Variables, Arrays, Constants, etc. The CRBASIC

Editor pre-compiler will identify names that are too long or improperly

formatted.

Table 10. Rules for Names


Name for

Maximum Length

(number of characters)


Allowed characters

Variable or Array

16

Letters A-Z, upper or lower case,

underscore "_", and numbers 0-9.

The name must start with a letter.

CRBASIC is not case sensitive

Constant

16

Units

10

Alias

16

Station Name

16

Data Table Name 16
Field name

16

Field Name

Description

58

85