Project

General

Profile

Bug #720

Min and Max no longer work with strings.

Added by Brian Flanagan about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
04/13/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

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")
#1

Updated by Brian Flanagan about 3 years ago

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.
#2

Updated by Brian Flanagan almost 3 years ago

  • 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.

#3

Updated by Brian Flanagan over 2 years ago

  • 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.

#4

Updated by Brian Flanagan over 2 years ago

Still fails in the 9/19 version.

#5

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Resolved

Fixed!

#6

Updated by Brian Flanagan over 2 years ago

  • 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