String length: Difference between revisions
Content added Content deleted
(→{{header|JavaScript}}: Unicode consideration) |
(Added various BASIC dialects) |
||
Line 579: | Line 579: | ||
===Character Length=== |
===Character Length=== |
||
{{works with|QBasic}} |
{{works with|QBasic}} |
||
{{works with|Liberty BASIC}} |
{{works with|Liberty BASIC}} |
||
{{works with|PowerBASIC|PB/CC, PB/DOS}} |
{{works with|PowerBASIC|PB/CC, PB/DOS}} |
||
Line 587: | Line 585: | ||
<syntaxhighlight lang="qbasic"> INPUT a$ |
<syntaxhighlight lang="qbasic"> INPUT a$ |
||
PRINT LEN(a$)</syntaxhighlight> |
PRINT LEN(a$)</syntaxhighlight> |
||
==={{header|Applesoft BASIC}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|BASIC256}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|Chipmunk Basic}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|MSX Basic}}=== |
|||
{{works with|MSX BASIC|any}} |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes.> |
|||
==={{header|Quite BASIC}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|True BASIC}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|Yabasic}}=== |
|||
The [[#GW-BASIC|GW-BASIC]] solution works without any changes. |
|||
==={{header|ZX Spectrum Basic}}=== |
==={{header|ZX Spectrum Basic}}=== |