Thanks for the pointer @dinsdale247 - I've downloaded LDT for the moment on Windoze as an outline guide. I think it will help navigation. My code has grown organically rather than from a flow chart or other 'approved' approach so sometimes I forget a variable name or where it is also used. :)...
Thanks @dinsday247. The folks at IDM are still working in LSP for UEStudio so no progress there, beta or not.
I tried ZeroBrane which looks interesting but as my lua server doesn't actually have X installed and I work on it via ssh, I couldn't install successfully. The Windows version does not...
Certainly you can use tables as sets and with metatables construct rules for membership, __adding, __deleting etc. But as these are associative tables rather than indexed tables, each access is quite slow and each element will take a considerable space. OK with GB memory and TB storage (if you...
Thanks for your suggestions @gilzoide.
I will ask IDM but as they also have UltraStudio they may already have gone down their own path.
There is a wordfile for UltraEdit/UltraStudio so syntax highlighting including folding blocks and other things work fine. I have been using UE/US for many...
One thing missing from all implementations AFAIK appears to be sets, with union, intersection etc operators.
In an earlier life I found Pascal (the best pre-open source revolution version was by Prospero) which taught me, as a then-Fortran user, the usefulness of understanding data structures...
Which Lua? I usually use luajit (2.1.0-beta3) or my Ubuntu 18.04 LTS platform default is lua 5.2. I've never tried it on Windoze.
I only use interactive Lua to check little ideas so I've never thought to use variables() that way. :)
I use it in code where there is a puzzling error to check I...
In my (relative) youth I spent a lot of time writing models in Fortran, mainly in the mathematics, physics and statistics modelling areas.
I soon found that cross referencing and layout tools were very useful, particularly Forcheck that checks arguments, line numbers where identifiers are used...
A simple library to call.
Call the chunk by:
local split,kpairs,dump,tSize,variables,tcopy,round,koncat,grep,file_exists,create_userdata = dofile "library.lua" -- or wherever it is stored
You are better posting this on the fxcodebase forum as this is specific to FXCM's Trading Station rather than a general Lua question. You also need to have an ExtAsyncOperationFinished function that processes the orders and events.
Before you try it, run it through luacheck and you will see a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.