Project

General

Profile

Actions

Bug #681

closed

Locate statement fails on Floating Point parameters.

Added by Brian Flanagan almost 4 years ago. Updated over 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"
Actions #1

Updated by Brian Flanagan almost 4 years ago

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

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

Actions #2

Updated by Francois Lionet over 3 years ago

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

Fixed
!

Actions #3

Updated by Brian Flanagan over 3 years ago

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

Works in B7!

Actions

Also available in: Atom PDF