Project

General

Profile

Bug #681

Locate statement fails on Floating Point parameters.

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

Status:
Closed
Priority:
Low
Target version:
Start date:
03/05/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Instead of failing, it should Round floating point parameters.
Example:

Cols = 80 : Rows = 25
Locate Int(Cols/2-5),Int(Rows/2) ' This works
// Locate Cols/2-5,Rows/2 ' This fails
Print "Test"
#1

Updated by Brian Flanagan about 3 years ago

  • Affected version changed from 1.0.0 (B4) to 1.0.0 (B5)

Re-tested in 1.0.0 (B5). Still fails.

#2

Updated by Francois Lionet about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Lionet

Fixed
!

#3

Updated by Brian Flanagan about 3 years ago

  • Status changed from Resolved to Closed
  • Target version set to 1.0.0 (B7)

Works in B7!

Also available in: Atom PDF