The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal Types
#2
britlion Wrote:This issues a warning: "Test.bas:22: warning: Redundant operation ABS for unsigned value"

Surely if a Byte is signed, then (Byte-Byte) is signed as well?
The compiler is right. At line 22, you have:
Code:
... ABS (yCoords(i) < yCoords(j)) <2 THEN
The ABS argument is a boolean value, which maps to an unsigned byte. Thus unsigned. ;-) I guess you have a bug here, and what you meant was a subtraction, isn't it?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)