ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
Outsourcing saves money
>
Issues Help Desk
>
#define?
Pages:
1
« previous
next »
Print
Author
Topic: #define? (Read 3905 times)
freezway
Posted on:
May 05, 2010, 07:51:15 pm
Joined: Dec 2009
Posts: 220
how can i use #define in enigma... shortening lengthdir_x to ldx would be handy.
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Josh @ Dreamland
Reply #1 Posted on:
May 05, 2010, 08:20:02 pm
Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950
Right now, you can't, as I broke Whitespace. :3
In the near future, you will just go to Enigma Settings and click Definitions, then add them there.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall,
Friends of Voltaire
RetroX
Reply #2 Posted on:
May 06, 2010, 08:50:02 pm
Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
Editing the source files is the only option at the moment.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars?
IsmAvatar
Reply #3 Posted on:
May 06, 2010, 11:56:47 pm
LateralGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877
Which isn't actually that bad. Just not sure if Enigma will complain since ldx isn't defined.
Logged
Josh @ Dreamland
Reply #4 Posted on:
May 07, 2010, 08:50:23 am
Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950
As a matter of fact, it should. XD
The syntax checker doesn't unfold macros itself at the moment; only the parser does. That's easily fixed.
I'm getting the last of my work out of the way this weekend, then I'm nearly 100% free to work on ENIGMA.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall,
Friends of Voltaire
Pages:
1
Print
« previous
next »
0