<-- Previous || Up || Next -->

Morse Code Encode Function
Codes Ciphers Class

Public Function MorseCodeEncode( _
    ByVal vValue As Variant _
    ) As Variant

Encode a string using Morse code.

Summary: Each Morse code character consists of a series of dots and dashes (represented by period and hyphen characters respectively within the result string).
Examples:
    MorseCodeEncode("SOS") = "... --- ..."
    MorseCodeEncode("sos SOS") = "... --- ...   ... --- ..."
See also:
    MorseCodeDecode Function
    MorseCodeEncodeSample Subroutine
    BaudotEncode Function
Note: Use the MorseCodeEncodeSample Sub to illustrate the ANSI Windows characters which have a Morse code representation.

vValue: String containing the phrase which is to be converted to Morse code. Function returns Null if vValue is Null or cannot be fixed up to a String.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.