Prev Previous Post   Next Post Next
Old 01-15-2021, 02:56 AM   #11
Meo-Ada Mespotine
Human being with feelings
Meo-Ada Mespotine's Avatar
Join Date: May 2017
Location: Leipzig
Posts: 6,479

Originally Posted by gxray View Post
Oh okay awesome, thanks! So roughly something like this then, where sourcefiles is the list of Lua filenames from the text file?

for _, sourcefile in pairs(sourcefiles) do
  local file = , "r");
  local text = file:read("*a")
  local _, docblocks = ultraschall.Docs_GetAllUSDocBlocsFromString(text)
Better: use ultraschall.ReadFullFile()

You can load them and concatenate the loaded file-strings into one string. Then run the get all docblocs function over it.
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here: - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 05:37 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.