Difference between revisions of "MC-Basic:LOC"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(7 intermediate revisions by 2 users not shown)
Line 23: Line 23:
 
|TYPE=
 
|TYPE=
 
''<DeviceHandle>'': Long<br>
 
''<DeviceHandle>'': Long<br>
''<return value>'': Long
+
<''return value''>: Long
  
 
|RANGE=
 
|RANGE=
 
''<DeviceHandle>'': 1 to 255<br>
 
''<DeviceHandle>'': 1 to 255<br>
''<return value>'': 0 to512
+
<''return value''>: 0 to512
  
 
|UNITS=
 
|UNITS=
Line 39: Line 39:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 45: Line 45:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:CLOSE|CLOSE]]
+
* [[MC-Basic:CLOSE|CLOSE]]
* [[Axystems:MC-Basic:INPUT$|INPUT$]]
+
* [[MC-Basic:INPUT$|INPUT$]]
* [[Axystems:MC-Basic:OPEN|OPEN]]
+
* [[MC-Basic:TELL|TELL]]
* [[Axystems:MC-Basic:PRINT HASH|PRINT HASH]]
+
* [[MC-Basic:OPEN|OPEN]]
 +
* [[MC-Basic:PRINT HASH|PRINT HASH]]
  
  
 
}}
 
}}

Latest revision as of 07:41, 6 August 2014

Returns the number of characters waiting in the input buffer.

In UTF-8 supporting versions 4.5.1 and higher NULL characters are no longer cut

out from strings, resulting in a different behavior:

Len of Chr$(0) is 1:

In former versions NULL characters could not appear in the middle of strings, since      the concationation process cut these characters from the resulting string.
<DeviceHandle>: A handle to a specified port.

Syntax

Loc(<DeviceHandle>)

Availability

All versions

Type

<DeviceHandle>: Long
<return value>: Long

Range

<DeviceHandle>: 1 to 255
<return value>: 0 to512

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

Loc(1)

See Also