Restored from previous forum. Originally posted by LJ.
 Was so accustomed to 255 maximum it was kinda burnt into the synaptic channels. Pure Basic doesn't have the 255 maximum limitation! Does anyone know what the new maximum limit of a dimensioned string is in Pure Basic?
			
			
									
									
						Dim a$(255) Maximum?
- 
				BackupUser
- PureBasic Guru 
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
 
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
			
			
									
									
						it mostly depends on how memory you have. If your app crashes, you have surely not enough.Originally posted by LJ
Was so accustomed to 255 maximum it was kinda burnt into the synaptic channels. Pure Basic doesn't have the 255 maximum limitation! Does anyone know what the new maximum limit of a dimensioned string is in Pure Basic?
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
- 
				BackupUser
- PureBasic Guru 
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
 
(I think 
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
			
			
									
									
						Fred fixed this in one of the v3.6X releases. It no longer crashes my computer when trying to allocate an array which is bigger than the amount of memory I have. You can check it like this:Originally posted by tranquil
it mostly depends on how memory you have. If your app crashes, you have surely not enough.
Code: Select all
Dim a$(255)
If @a$()=0
    ; Error, not enough memory
    End
EndIf

--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)