Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_NEWIMAGE can't accept variables as dimensions?
#4
(02-17-2026, 01:04 AM)bobalooie Wrote:
(02-17-2026, 01:02 AM)ahenry3068 Wrote:   A variable should be acceptable.


   If that is the full code your using then your getting the illegal function call because iu isn't assigned a value (thus is 0)  You can't do a _NEWIMAGE with a 0 dimension !

The variable's value is calculated before reaching this point in the code. It is a non-zero value.
   In that case please print out the values just prior to the _newimage.     !     The code you have should work if iy is a valid value !

Also make sure the variable is **in scope** you may think your initializing it but really getting the WRONG iy if the one your assigning isn't in the scope of the _newimage
Reply


Messages In This Thread
RE: _NEWIMAGE can't accept variables as dimensions? - by ahenry3068 - 02-17-2026, 01:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting mouse to ignore outside of _NewImage PhilOfPerth 11 712 12-18-2025, 07:20 PM
Last Post: Pete
  getting the number of dimensions in an array on the fly? madscijr 7 721 09-16-2025, 12:34 AM
Last Post: madscijr
  Why are SINGLE variables faster than INTEGER variables ? Elzaimer 18 2,330 07-07-2025, 05:01 AM
Last Post: ahenry3068
  Why do FOR/NEXT variables end up +1 more? Dav 14 2,832 08-26-2023, 09:25 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 2 Guest(s)