Navigation:  ThinBASIC Modules > StringBuilder > StringBuilder Module Classes > <StringBuilder> Properties >

<StringBuilder>.CharCode

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets or retrieves character ASCII code at given position

 

Syntax

 

GET

n = <StringBuilder>.CharCode(position)

 

SET

<StringBuilder>.CharCode(position) = charCode

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

position

Number

No

Position is 1 based, that means, first character = 1

 

 

Remarks

 

Restrictions

 

See also

 

Examples