Evaluate expression

Information and change log about the latest ZGameEditor release.

Moderator: Moderators

Post Reply
User avatar
Site Admin
Posts: 1984
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden

Evaluate expression

Post by VilleK » Tue Mar 05, 2019 2:20 pm

Added a new feature: a editbox for evaluate expression. It is located at the bottom right corner, just below the log.

This is a useful debugging and productivity tool.

You can type any expression that is valid in the currently loaded application.

Enter will evaluate expression. Pressing Up and Down will circle to expression history.

Download here: http://www.zgameeditor.org/files/ZGameEditor_beta.zip


Code: Select all

1   //will display 1

2*2  //will display 4

strToInt("1")  //built-in functions can be called

"value is " + intToStr(42)  //string results are ok too

MyScore=1000  //Assignments are ok too

@RefreshContent(Component : MyBitmap)  //this syntax is ok too

InitGameLevel(4)   //nice to be able to call user-defined functions during preview
zge_evalexpression.PNG (273.72 KiB) Viewed 358 times

Post Reply