UnQLite Users Forum

pass and retrieve values from jx9 file

append delete mactavish

Can i pass values from main.c to a jx9 file program and vice-versa? If so, what is the procedure?

Reply RSS

Replies

append delete #1. devel

Of course, using On-Demand Object Allocation functions, you'll be able to pass variable from your C code to your Jx9 script and vice versa.

https://unqlite.org/c_api/unqlite_value_alloc.html
https://unqlite.org/c_api/unqlite_context_user_data.html

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: chm_at_symisc, devel_at_symisc