Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -0,0 +1,22 @@
|
|||
Procedure CaracteresUnicos(cad.s)
|
||||
lngt.i = Len(cad)
|
||||
PrintN("String = '" + cad + "' length = " + Str(lngt))
|
||||
For i.i = 1 To lngt
|
||||
For j.i = i + 1 To lngt
|
||||
If Mid(cad, i, 1) = Mid(cad, j, 1)
|
||||
PrintN(" First difference at position " + Str(i) + " and " + Str(j) + ", character = '" + Mid(cad, i, 1) + "', hex value = " + Hex(Asc(Mid(cad, i, 1))) + #CRLF$)
|
||||
ProcedureReturn
|
||||
EndIf
|
||||
Next
|
||||
Next
|
||||
PrintN(" All characters are the same." + #CRLF$)
|
||||
EndProcedure
|
||||
|
||||
OpenConsole()
|
||||
CaracteresUnicos("")
|
||||
CaracteresUnicos(".")
|
||||
CaracteresUnicos("abcABC")
|
||||
CaracteresUnicos("XYZ ZYX")
|
||||
CaracteresUnicos("1234567890ABCDEFGHIJKLMN0PQRSTUVWXYZ")
|
||||
PrintN(#CRLF$ + "Press ENTER to exit"): Input()
|
||||
CloseConsole()
|
||||
Loading…
Add table
Add a link
Reference in a new issue