To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

ZPE 1.7.2 constants

02 Feb 2019 at 11:40
ZPE constants have existed for a long time, but they've never been their best.

Constants have existed in ZPE since 1.2.01 of BlackRabbit Script, and were actually added as one of the first defined features. They've always had one problem since the beginning. They were interpreted, not compiled. With ZPE 1.7.2 some 5 years later, constants are moved to the compiler where they should be. They no longer have a syntax of #x = 10 but now require the define keyword in front of them:

YASS
define Jamie = "Jamie Balfour"
print(Jamie)
print(Jamie & Jamie)

Further improvements will make the LAME evaluator faster than version 1.7.1's LAME evaluator that completely redesigned the way evaluation works.

zpe
1.7.2
constants