mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 12:32:09 +03:00
fixed spelling errors
This commit is contained in:
parent
9912e42945
commit
edada55eb0
@ -3,6 +3,7 @@ language: LDPL
|
|||||||
filename: learnLDPL.ldpl
|
filename: learnLDPL.ldpl
|
||||||
contributors:
|
contributors:
|
||||||
- ["Martín del Río", "https://github.com/lartu"]
|
- ["Martín del Río", "https://github.com/lartu"]
|
||||||
|
- ["John Paul Wohlscheid", "https://github.com/JohnBlood"]
|
||||||
---
|
---
|
||||||
|
|
||||||
**LDPL** is a powerful, C++ transpiled, open-source programming language designed
|
**LDPL** is a powerful, C++ transpiled, open-source programming language designed
|
||||||
@ -68,7 +69,7 @@ else if myMap:"someIndex" is not equal to 45 then
|
|||||||
else
|
else
|
||||||
display "Else!" crlf
|
display "Else!" crlf
|
||||||
end if
|
end if
|
||||||
# Valid LDPL comparisson operators are
|
# Valid LDPL comparison operators are
|
||||||
# - IS EQUAL TO
|
# - IS EQUAL TO
|
||||||
# - IS NOT EQUAL TO
|
# - IS NOT EQUAL TO
|
||||||
# - IS LESS THAN
|
# - IS LESS THAN
|
||||||
@ -123,8 +124,8 @@ get random in myNumber # get a random number between 0 and 1
|
|||||||
# files, are divided in sections. The sections found in sub-procedures are
|
# files, are divided in sections. The sections found in sub-procedures are
|
||||||
# the PARAMETERS section, the LOCAL DATA section and the PROCEDURE section.
|
# the PARAMETERS section, the LOCAL DATA section and the PROCEDURE section.
|
||||||
# All sections except the PROCEDURE section can be skipped if they aren't
|
# All sections except the PROCEDURE section can be skipped if they aren't
|
||||||
# used. If no PARAMTERS nor LOCAL DATA sections are used, the PROCEDURE
|
# used. If no PARAMETERS nor LOCAL DATA sections are used, the PROCEDURE
|
||||||
# keyword may be omited.
|
# keyword may be omitted.
|
||||||
sub myFunction
|
sub myFunction
|
||||||
parameters:
|
parameters:
|
||||||
a is number # LDPL is pass by reference
|
a is number # LDPL is pass by reference
|
||||||
|
Loading…
Reference in New Issue
Block a user