PropBasic Wish List
FriedV
Posts: 77
Perhaps it would be useful to have a wish list for the PropBasic compiler.
So I begin with
1.
SELECT-CASE-END SELECT statement
Syntax:
SELECT CASE var
CASE test1 : statements
[CASE test2 : statements ]
CASE ELSE : statements
END SELECT
Example
Do
Input"Enter value (0-255) ", I
SelectCase I
Case 1 :Print"1"
Case 2 :Print"2"
Case 3 To 5 :Print"3-5"
CaseIs>= 10 :Print">= 10"
CaseElse:Print"Not in Case statement"
EndSelect
Loop
End
'note that a Boolean expression like > 3 must be preceded
'by the IS keyword
Example & Syntax is from BasCom AVR Compiler.
2. Continuation character to split long PropBasic lines.
Some other wishes anybody?
Cheers, Friedrich
So I begin with
1.
SELECT-CASE-END SELECT statement
Syntax:
SELECT CASE var
CASE test1 : statements
[CASE test2 : statements ]
CASE ELSE : statements
END SELECT
Example
Do
Input"Enter value (0-255) ", I
SelectCase I
Case 1 :Print"1"
Case 2 :Print"2"
Case 3 To 5 :Print"3-5"
CaseIs>= 10 :Print">= 10"
CaseElse:Print"Not in Case statement"
EndSelect
Loop
End
'note that a Boolean expression like > 3 must be preceded
'by the IS keyword
Example & Syntax is from BasCom AVR Compiler.
2. Continuation character to split long PropBasic lines.
Some other wishes anybody?
Cheers, Friedrich
Comments
SD card support.
Especially with random access to elements in the file.
Duane
@Bean Probably a lot of work....