docs

Home All functions Categories

vuSayText(text)

vuSayText(*CSTRING), Signed

Description

Converts the specified text to speech using the Microsoft Speech API (SAPI). The function will not return until the spoken text has finished playing.

Parameters

Parameter Data Type Description
text CSTRING(256) The text string to convert to spoken audio

Returns

A LONG value:

Example

text = 'Please select your choice of options'

IF vuSayText(text)
  MESSAGE('Speech completed successfully.')
ELSE
  MESSAGE('Text-to-speech failed.')
END

Notes

Home All functions Categories