Jump to content

Recommended Posts

Posted

It would be good if you could use logical operations in equations. Yes, there's the bitwise 'and', 'or', etc. But I was thinking rather of an 'if..then' structure. Either do it with if..then, or with true/false (1/0).

eg. (1=1)*5 = 5, but (1=2)*5 = 0.

Many thanks for your kind considerations,

Damian R Blenkinsop, OAF

Dave Straker

Cameras: Sony A7R2, RX100V

Computers: Win10: Chillblast i9 Custom + Philips 40in 4K & Benq 23in; Surface Pro 4 i5; iPad Pro 11"

Favourite word: Aha. For me and for others.

Posted

Well I would rather like to see a general scripting support (which would offer all that and also give much more possibilities then), than crippling such things into equations.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted

I would support simple logical expressions. You can emulate them with the current set. For example, to test for equality:

EQ(A,B) = floor((min(A,B)/max(A,B))

This gives 0 if A<>B and 1 if A=B, but only if both are positive or both negative.

It works, but is hardly elegant!

John

Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo).

CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB  DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.