Use lua code blocks like this:
local a, b
function fA ()
print(a)
function fB ()
print(b)
end
end How many upvalues does fA have, 1 or 2?
You may want to use luac -l -l to read th
Use lua code blocks like this:
local a, b
function fA ()
print(a)
function fB ()
print(b)
end
end How many upvalues does fA have, 1 or 2?
You may want to use luac -l -l to read th
I wrote the following code:
var
MainForm: TMainForm;
const
SRootKey = HKEY_LOCAL_MACHINE;
SKey =’SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles’;
implementation
{$ R *.d
How to get changes from TClientDataset?
I have a TClientDataset called GetDataset and I have a grid. I want to make changes in a new TClientDataset called ChangeDataset.
How can I do it
I am trying to use the redis-lua library within copas. It needs some patching.
One problem is that redis-lua defines some iterators as coroutines, but these iterators execute Network operations th
ref: https://blog.csdn.net/ouyangshima/article/details/43339571
Lua was born to interact with C, so use CExpandLuaOr change LuaEmbed in CThese are very popular practices. To understand Cand L
I have 4 consecutive panels with 3 splitters in the middle. The 1st / 2nd / 3rd pane: align = alLeft, the 4th pane: align = alClient .
[1] | [2] | [3] | [4]
Now the user wants, then
I have this code:
TServer = class
private
fOnMsgFromServer: TProc< String, String, String>;
public
procedure RegisterOnMsgFromServer(aCallBack: TProc);
procedure Execute;
end;
procedure TS
In a multi-monitor environment, I want to be able to get the current monitor and active monitor to save the information when I close the form, and when I reopen the form in the future, the form wil
I wrote a userdata type for Lua in C language. It has some array type attributes and various methods. Now, if you are of this type, I use you: set (k,v)resp. u: Get (k) access data, such as u: sort
1. Make the minimize button gray:
setwindowlong(handle,gwl_style,getwindowlong(handle,gwl_style) and not ws_minimizebox);
2. Make the maximize button gray:
setwindowlong(handle,gwl_style,getwindowl