Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Dabzy

Today at 12:17:43
Lol, not the ones from Poundland! :D Anyway, I've got a nice box of chocolates and a Prosecco to go in the bucket! ;)

Jackdaw

Today at 11:18:06
@Dabzy I think they will appreciate it. Have you seen how much it can cost for a good mop and bucket set in this day and age.  I can buy a bottle of Blonde chocolate cream liqueur for less at ASDA.

Dabzy

Today at 10:47:41
Well, I'm off out to buy a 60th birthday pressie... A mam of one of me mates... Gonna get her a mop and bucket, and wrap it up, even wrap the noodly mop bits individually... All in Christmas wrapping paper... Should go down well! :D

Dabzy

2025-10-17, 17:36:22
Well, just have to keep an eyes, even though they said they sorted it like

Jackdaw

2025-10-17, 17:22:26
When I saw it. It was in the very early hours when normal people are fast asleep. Lasted for around half an hour before back to normal.

Dabzy

2025-10-17, 15:02:27
First time I seen it, having me cuppa at work and had a browse... Saw it and I was like "WTF is that!?!", so got on the blower!

Baggey

2025-10-17, 11:22:52
Oh goody. Was getting withdraw symptons!

Jackdaw

2025-10-17, 10:38:44
I saw that the other week, and forgot to query it. Redirects to sedo.parking.

Dabzy

2025-10-17, 10:33:24
Seems we lost the site for a bit there, sorted, basically htaccess went a bit screwy and it was diverting to one of them stupid default search pages... Been on to ionos the host provider and they fixered it! \o/ Had meself a bit of a sweat on there!  ;D

Jackdaw

2025-10-16, 20:00:40
Going to have to try bourbon and beans. That should be an explosive combination.

Members
Stats
  • Total Posts: 1,824
  • Total Topics: 226
  • Online today: 19
  • Online ever: 232 (Oct 08, 2025, 09:18 AM)
Users Online
  • Users: 0
  • Guests: 17
  • Total: 17
Welcome to SyntaxBoom. Please login or sign up.

Recent

Removing Last Object From an Array

Started by Hardcoal, Jun 27, 2025, 02:35 PM

Previous topic - Next topic

Hardcoal

Function RemoveLastFromArray:Object[] (arr:Object[] var)
      If arr.Length = 0 Then
         Return arr
      End If
      Local newArr:Object[] = arr[..arr.Length - 1]
      arr = newArr
      Return newArr
End Function 

        Function GetArrayLastValue:Object(arr:Object[])
	    If arr.length = 0 Then
	        Throw "Array is empty"
	    End If
	    Return arr[arr.length - 1]
	End Function
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces