Bug #720
Min and Max no longer work with strings.
Added by Brian Flanagan about 3 years ago.
Updated over 2 years ago.
Description
Re-tested in 1.0.0 B7 (Related to Bug #56 - closed)
This was fixed back in RC3, but was apparently broken again since then.
The first two (numeric) examples work.
The last two (string) examples fail with both type mismatch and syntax errors.
Print Min(3.5,6.7)
Print Max(3.5,6.7)
Print Min("abc","def")
Print Max("abc","def")
Re-tested with newest B7 on 4/20.
Still fails - transpiler crashes.
Example:
A#=123.56
B#=234.56
C=234
D=456
E$="abcde"
F$="ghijk"
Print Min(A#,B#),Max(A#,B#)
Print Min(C,D),Max(C,D)
Print Min(A#,C),Max(A#,C)
Print Min(B#,D),Max(B#,D)
// Print Min(E$,F$) // This fails - uncomment to test.
// Print Max(E$,F$) // This fails - uncomment to test.
// As of this version, now causes transpiler to crash.
- Affected version changed from 1.0.0 (B7) to 1.0.0 (B8)
Re-tested again with the newest B8 (as of 5/29/2021)
It's still broken.
- Assignee set to Francois Lionet
- Affected version changed from 1.0.0 (B8) to 1.0.0 (B10) u16
Re-tested in 1.0.0 (B10) u16
It's half-working.
Min now works.
Max still fails on strings.
Still fails in the 9/19 version.
- Status changed from New to Resolved
- Status changed from Resolved to Closed
All working now. (tested 1.0.0 (B10) u16 (as of 15 Oct)
Thanks, Frasncois!
Also available in: Atom
PDF