I created an RPN calculator.

2024-08-24 Thread 8bitdboy
Input efficiency, more or less. It's also easier than implementing an infix-notation calculator. Here's an example:

I created an RPN calculator.

2024-08-24 Thread 8bitdboy
Not quite. Much more math-oriented.

Web-application: Where to start?

2024-08-24 Thread NatsukiKarin
happyx might be a good choice.

How to test if a symbol is present?

2024-08-24 Thread Hobbyman
By the way there is quite some info in the module-description of system.

How to test if a symbol is present?

2024-08-24 Thread Hobbyman
Thanks both. The proc "declared" seems to do the trick...

Running procs from a list of procs

2024-08-24 Thread stbalbach
Great! I'll probably use the closure method only because I have not upgraded Nim in a long time and my version doesn't support std/tasks (2022?). This works for now, if more verbose: type MyTask = proc () {.closure.} proc hello(a: int) = echo a proc other(s: string) = e

Running procs from a list of procs

2024-08-24 Thread Araq
Easy to do with `std / tasks`. For example: import std / tasks proc hello(a: int) = echo a proc other(s: string) = echo s let myTasks = @[toTask(hello 3), toTask(other "abc)] for t in myTasks: invoke(t) Run

Running procs from a list of procs

2024-08-24 Thread stbalbach
Thank you! You are correct, a few of my procs will need to pass a parameter. I tried something like this: import macros proc test1() = echo "Hello" proc test2(i: int) = echo "World " & $i for p in [test1, test2]: if astToStr(p) == "test2": p(42)

Running procs from a list of procs

2024-08-24 Thread cblake
This works: proc test1 = echo "Hello" proc test2 = echo "World" for p in [test1, test2]: p() Run Note the dropped optional ()s for an empty parameter list. Before you were trying to "call" a "string" which is.. not something most people would expect to work. E

Running procs from a list of procs

2024-08-24 Thread stbalbach
Is it possible to make a list of proc names then loop through the list and run those procs. Perplexity.ai gave this answer which works: import tables proc test1() = echo "Hello" proc test2() = echo "World" let procTable = { "test1": test1

Trade V8 Definity

2024-08-24 Thread keymarijohnjoseph
Trade V8 Definity Trade V8 Definity describes itself as a personal guide through the labyrinth of cryptocurrency trading promises to be.With this approach to learning, the platform claims to have changed the investment education scene. But does the platform have the features necessary to truly

Smart Hemp Gummies South Africa: (Fake Exposed) Pain Relief & Is It Scam Or Trusted?

2024-08-24 Thread luclaelierdo
Buy Now Official website:- Other Official Facebook:- MAIN BLOGS :- <

https://www.facebook.com/SmartHempGummiesSouthAfrica/

2024-08-24 Thread lucloelierdo
Buy Now Official website:- Other Official Facebook:- MAIN BLOGS :- <

https://manhood-plus-gummies-uk-13.jimdosite.com/

2024-08-24 Thread RomanLehrer
Manhood Plus Gummies UK ➽➽Related Articles

CW Naturals CBD Gummies Reviews 2024!

2024-08-24 Thread toxylovy
✅ Keyword: - CW Naturals CBD Gummies “I have been battling with constant back torment for a long time, and nothing appeared to offer assistance. I chosen to attempt CW Naturals CBD Gummies, and the comes about have been unimaginable. My torment has essentially decreased, and I can at long last

Manhood Plus Gummies UK (NEW Hidden Customer Warning!) Real Ingredients! APPROVED$49!

2024-08-24 Thread RomanLehrer
Manhood Plus Gummies UK ➽➽Related Articles

Fitspresso DietEXPOSED SCAM Must You Need to Know [Fitspresso]

2024-08-24 Thread Jimmyiuraig
Fitspresso Diet:- The enhancement goes through thorough testing in a FDA and GMP-supported lab, guaranteeing each clump fulfills the best guidelines and stays liberated from pollution. REAL WEBSITE:- REAL WEBSITE:-