Загрузка...

LUA Basics - string.format

Please subscribe, and check out my channel for more AV engineering and programming related content! #arctics8bit

This video shows the LUA string format command. String format allows you to create a string that contains different types of formatted data. It also allows you to specify the number of digits, combine ascii & hex, etc. Specifiers are %d or %i for numbers, %f for float, %.2f to format float to only 2 digits, you can drop the decimal for leading zeros, %h for hex, %c for an ascii character, and %s for string. Its an excellent way for creating command strings that get sent to a device for remote control!

#qsc #lua #programming #programminglanguage #programmer #audiovisual

Видео LUA Basics - string.format канала Arctic's 8-Bit Bytes
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять