123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|545|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> JSE -> Interesting CONST Use

Tue, 24 May 2022, 19:56
Jayenkai

Interesting CONST Use


  --v

An interesting use-case for CONSTs in JSE.
The parser will directly copy any text after the = sign, to any place where the $Name exists within the code. This means you can create almost function-like bits of code using them, as long as what you're doing can fit on the line.

-=-=-
''Load, Next List!''
Wed, 25 May 2022, 01:11
Pakz
I was looking into lookup tables yesterday. Thinking this was all easy stuff. What if I made a array of (1000,1000,1000,1000) and stored distances into that.
I think my math needs training as that is a bit to big javascript can have around a maximal of 4 billion items in a array.

I think you fixed the arrays inside brackets. I had no problems yesterday with that. Not sure with array(array(i))
Wed, 25 May 2022, 13:40
Dan
Nice !



  --v