Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A bit dim about "DIM"
#3
(04-30-2022, 03:34 AM)PhilOfPerth Wrote: I'm a bit confused, appropriately, about the DIM function.
I read that we can dim a whole range of vars, like a to z, as a group in one go, but I don't seem to be able to.
Is this implemented yet, or am I wrong again? Confused

Edit: I see OldMoses beat me to it...

You may be thinking of DEFINT (Define Interger)

DEFINT A-Z ' Makes every numerical variable an integer.

For the DIM statement, you may be thinking of a to z, but what is available is DIM for the number of elements, as in...

DIM count (1 to 1000)

or

DIM count(1 to 1000) AS INTEGER

or

a = 1: b = 10: DIM count(a TO b) AS STRING

DIM can also be used with TYPE statements.

Maybe to cut to the chase, what action are you trying to accomplish?

Pete
Reply


Messages In This Thread
A bit dim about "DIM" - by PhilOfPerth - 04-30-2022, 03:34 AM
RE: A bit dim about "DIM" - by OldMoses - 04-30-2022, 03:52 AM
RE: A bit dim about "DIM" - by Pete - 04-30-2022, 03:56 AM
RE: A bit dim about "DIM" - by PhilOfPerth - 04-30-2022, 04:16 AM
RE: A bit dim about "DIM" - by BSpinoza - 04-30-2022, 04:56 AM
RE: A bit dim about "DIM" - by Pete - 04-30-2022, 05:07 AM
RE: A bit dim about "DIM" - by SMcNeill - 04-30-2022, 05:08 AM
RE: A bit dim about "DIM" - by BSpinoza - 04-30-2022, 06:10 AM
RE: A bit dim about "DIM" - by PhilOfPerth - 04-30-2022, 10:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sub not Reconizing Dim as String pmackay 18 1,476 10-16-2025, 03:32 PM
Last Post: pmackay
  need help printing a scaled string in a custom font to a 32-bit image madscijr 9 1,168 07-03-2025, 04:48 PM
Last Post: SMcNeill
  DIM - AS - VARIABLE TYPE likely bug bartok 25 5,552 05-06-2024, 08:21 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)